Skip to main content
Glama

execute_tool

Send HTTP requests to execute OpenAPI tools after retrieving their schemas, enabling API calls with specified parameters and authentication.

Instructions

Execute an OpenAPI tool via HTTP.

    Sends the actual HTTP request based on the tool's method and path
    from the OpenAPI spec. Use after search_tools() + get_tool_schema()
    to call the API.

    Args:
        tool_name: Exact tool name (as returned by search_tools)
        arguments: JSON string of parameter values (e.g. '{"owner":"me","repo":"test"}')
        base_url: API base URL (e.g. https://api.github.com). Required if not inferrable.
        auth_token: Bearer token for authentication (optional)
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tool_nameYes
argumentsYes
base_urlNo
auth_tokenNo

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/SonAIengine/graph-tool-call'

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