Skip to main content
Glama

BotSpot: AI Trading, Backtests and Bots

Tool Call Metrics

get_tool_call_metrics
Read-only

Returns per-tool call duration metrics for a conversation with an explicit latency boundary. Includes individual call records and aggregates, or exact Agent-vs-Node paired comparisons with transport/Agent overhead. Use this to identify slow tools and optimize your workflow.

Input Schema

NameRequiredDescriptionDefault
toolNameNoFilter results to a specific tool name.
conversationIdNoConversation ID to fetch tool metrics for. Defaults to the current conversation if omitted.
measurementScopeNoLatency boundary. agent_round_trip includes Agent, network, Node routing, and response handling; node_server measures the Node request path; comparison pairs both clocks by exact toolCallId.agent_round_trip

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

readOnlyHint=true is already declared, so the safety profile is covered; the description earns credit by disclosing what the payload contains (individual call records, aggregates, transport/Agent overhead in comparison mode) and that the measurement is bounded by an explicit clock choice. It doesn't mention result limits or volume/pagination behavior, which keeps it off 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?

Three sentences, front-loaded with what is returned before the usage recommendation, with no filler. The final sentence is slightly promotional but still carries selection value, so it's efficient without being maximally tight.

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 no output schema, the description takes on the job of describing return shape and does so adequately (records, aggregates, paired comparisons with transport/Agent overhead). Combined with a read-only annotation and fully documented parameters, an agent has enough to call it correctly; only result-size/pagination expectations are 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?

Schema description coverage is 100% and all three parameters, including the measurementScope enum, are already fully documented in the schema. The description only restates the latency-boundary concept at a high level and adds no syntax or edge-case detail beyond structured data, so baseline 3 applies.

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+resource (returns per-tool call duration metrics for a conversation) plus the scoping dimension (explicit latency boundary) and the two result shapes (records/aggregates vs. Agent-vs-Node paired comparison). No sibling tool covers tool-call latency, so the scope is unambiguous without needing to name an alternative.

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?

"Use this to identify slow tools and optimize your workflow" gives a concrete motivating use case, and the latency-boundary sentence implies when to pick a comparison vs. a single-clock view. It stops short of explicit when-not conditions or naming alternatives, so it doesn't reach the top band.

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.