Skip to main content
Glama

Call Tool

apibase.tools.call
Destructive

Call one tool found with apibase.discover: tool_id is its tool id or MCP name, arguments is the object its input schema (apibase.describe) asks for. The price is the price of that tool, paid, challenged and settled exactly as a direct call of it; the wrapper itself is free (APIbase)

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "tool_id": "<tool_id>"
    },
    "name": "apibase.tools.call"
  }
}

Input Schema

NameRequiredDescriptionDefault
tool_idYesTool id or MCP name of the tool to call, as returned by apibase.discover (e.g. "apibase.discover" or "apibase.discovery.search")
argumentsNoJSON object with the arguments of that tool, as its input schema defines them (apibase.describe returns the schema). Use {} for a tool without arguments.

Output Schema

NameRequiredDescriptionDefault
errorNoPresent only when the call failed. Includes error code, message, request_id, and any provider-specific extras.
resultNoTool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only supply the generic wrapper profile (destructive, openWorld, not idempotent, not read-only), which tells an agent little about what actually happens. The description adds genuinely non-obvious behavior: billing semantics ("The price is the price of that tool, paid, challenged and settled exactly as a direct call of it; the wrapper itself is free"), i.e. a priced, challenge-based settlement path the agent must expect. It does not state that the effective risk profile is the callee's rather than the wrapper's, nor error/failure behavior, keeping it below a 5.

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

Conciseness4/5

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

A single front-loaded sentence plus a billing clause; the action-and-inputs mapping comes first and the pricing caveat follows. It is dense but each clause carries information (what to pass, what it costs, that the wrapper is free), with only mild semicolon-driven crowding.

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

Completeness4/5

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

With an output schema present, return values need no explanation, and 2 params at 100% coverage are fully documented. The essential wrapper-specific facts (priced pass-through, free wrapper, argument shape) are covered; only failure modes and the inherited-annotation caveat are absent for what is otherwise a simple router.

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?

Schema coverage is 100% and both parameters are described in-schema, including the "Use {} for a tool without arguments" rule, so the schema does the heavy lifting. The description restates the same meaning (tool id or MCP name; arguments object per the callee's input schema) and adds only the pointer to the discovery flow, which is slight value beyond the schema.

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?

States a specific verb and resource ("Call one tool found with apibase.discover") and immediately explains both inputs, so an agent can distinguish it from apibase.discovery.search / describe / categories without opening the schema. The name-plus-description pair leaves no ambiguity about what the tool produces: a proxied invocation of exactly one named tool.

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 embeds the workflow prerequisite (the tool must first be found via apibase.discover, schema via apibase.describe) and clarifies the equivalence "exactly as a direct call of it", which tells an agent this is a routing wrapper, not a different operation. It stops short of explicit exclusions — e.g. when to prefer a direct/dedicated call or platform.batch.call for multiple tools — so it is clear context rather than full when/when-not guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.