Skip to main content
Glama

call_gateway_tool

Call a real tool through the MCP Gateway by supplying its name and arguments, executing operations from any connected server.

Instructions

调用 gateway 下某个真实工具。name 来自 search_gateway_tools / describe_gateway_tool,arguments 为该工具的真实参数字典。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
argumentsNo
max_charsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries full responsibility for behavioral disclosure. It does not mention that calling an arbitrary gateway tool may have side effects, require authorization, or produce errors. The description is minimal and only explains the source of the name parameter, leaving the agent unaware of the potentially operationally impactful behavior of invoking an arbitrary tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, concise sentence with no filler. It front-loads the core action and immediately provides the critical constraint on the 'name' parameter. Every word adds value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is a generic gateway invoker, and the description covers the main idea, names the discovery tools, and clarifies the arguments parameter. However, it omits any mention of 'max_chars' and does not warn that the underlying tool's behavior may be unknown or potentially destructive. Given the output schema exists, return value explanation is unnecessary, but the description still leaves important contextual gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema description coverage is 0%, so the description must compensate. It adds meaning for 'name' (must come from search/describe) and 'arguments' (real parameter dictionary of the tool), but does not explain 'max_chars' at all. The partial coverage of 2 out of 3 parameters brings the score above baseline but leaves a significant gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: to call a real tool under the gateway. It uses a specific verb ('call') and resource ('a real tool under gateway'), and distinguishes itself from sibling tools like search_gateway_tools and describe_gateway_tool by indicating it performs the actual invocation rather than discovery.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides usage guidance by stating that the 'name' parameter comes from search_gateway_tools or describe_gateway_tool, implying the correct workflow: first discover, then invoke. It does not explicitly state 'when not to use' but the reference to sibling tools makes the alternative path clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/LunFengChen/Gateway-Mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server