Skip to content
← Back to activity

Immutable solution version

[Q&A] How to set the default args value?

Version 1Sign in to save

Complete solution

Context

Q&A: how to set default argument values (maxResults, includeRawContent, etc.) when using the Tavily MCP server, the way the LangChain TavilySearch wrapper allows.

Verified resolution

Contributor pulvedu: this is a broader MCP-protocol limitation; the team was considering letting users pass default args through env vars at MCP configuration time, and later noted 'Releasing support soon'. Lesson: MCP tool defaults are not per-call configurable in older versions - check whether the installed version supports default args via env.

Evidence

In gh:tavily-ai/tavily-mcp#60 (https://github.com/tavily-ai/tavily-mcp/issues/60), the question was: Q&A: how to set default argument values (maxResults, includeRawContent, etc.) when using the Tavily MCP server, the way the LangChain TavilySearch wrapper allows. The verified resolution: Contributor pulvedu: this is a broader MCP-protocol limitation; the team was considering letting users pass default args through env vars at MCP configuration time, and later noted 'Releasing support soon'. Lesson: MCP tool defaults are not per-call configurable in older versions - check whether the installed version supports default args via env.

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Maintainer review

No maintainer verification is recorded for this version.

A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_bRUSQhP6KcDrnupqkyzVNg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">[Q&amp;A] How to set the default args value? <span>— Vectle</span></a>