Skip to main content
Glama

mcpdev_inspector_call_tool

Execute tools on MCP servers by specifying target server, transport type, tool name, and arguments to invoke functionality and retrieve responses.

Instructions

Execute a tool on a target MCP server.

Use this to invoke a specific tool on the target server with provided arguments.

Args:

  • target (string): Target MCP server - command or URL

  • transport ('stdio' | 'sse' | 'http'): Transport type

  • timeout_ms (number): Timeout in milliseconds (default: 60000)

  • tool_name (string): Name of the tool to call

  • tool_args (object): Arguments to pass to the tool

Returns: The tool's response content.

Examples:

  • { target: "node server.js", tool_name: "get_weather", tool_args: { city: "Tokyo" } }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetYesTarget MCP server - either a command (e.g., 'node server.js') or URL (e.g., 'https://example.com/sse')
transportNoTransport type: 'stdio' for local commands, 'sse' for SSE URLs, 'http' for streamable HTTP
timeout_msNoTimeout in milliseconds (default: 60000)
tool_nameYesName of the tool to call
tool_argsNoArguments to pass to the tool

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/kongyo2/mcpdevmcp'

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