Skip to main content
Glama

Get a tool's inputs and price

get_tool
Read-onlyIdempotent

Free; reads only. Returns everything needed to run one tool: what it does, when to use it and when not, its full JSON input schema with limits, its price per call and price options, its actions (for platform tools such as linkedin or google), an example input and its web page. Call it after search_tools and before run_tool so the input is right the first time.

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": {
      "name": "<name>"
    },
    "name": "get_tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesThe tool's name from search_tools, e.g. 'gpt-image-2-5-sunburst', 'linkedin' or 'weather'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, and 'Free; reads only' largely restates that. The description goes further by disclosing exactly what comes back (prices, price options, per-platform actions, example input, web page), which materially helps an agent plan the follow-up run_tool call.

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?

Two sentences, front-loaded with cost and safety constraints, then the payload list, then the ordering directive. The long enumerated list of return fields is dense but every item is useful information for an agent; only marginal trimming is possible.

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

Completeness5/5

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

There is no output schema, so the description must describe return values itself — and it enumerates them thoroughly, including price, actions, example input and web page. Combined with the explicit workflow position, nothing an agent needs to call this correctly is missing.

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?

Only one parameter with 100% schema description coverage, so the baseline applies. The description's note that the name comes via search_tools echoes what the schema already says, adding no new per-parameter meaning such as naming or formatting conventions.

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 ('Returns everything needed to run one tool') and enumerates the payload: definition, when/when-not, full input schema with limits, price per call and price options, actions, example input, web page. An agent can distinguish this from search_tools and run_tool without opening any schema.

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

Usage Guidelines5/5

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

Gives explicit sequencing: 'Call it after search_tools and before run_tool so the input is right the first time.' Names both the prerequisite and the follow-up tool, so the agent knows where this sits in the workflow.

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.

Resources