Skip to main content
Glama

agent-verified-relay

Service stats

service_stats

Call counts, error counts, and accrued fees for one service.

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

Input Schema

NameRequiredDescriptionDefault
service_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

The description adds no behavior beyond the payload: it says nothing about the aggregation window (all time vs. a period), whether counts are cached or live, what 'accrued fees' are denominated in, or any auth requirement. The annotations declare readOnlyHint=false and idempotentHint=false, which sits uneasily with what reads like a pure metrics retrieval, and the description neither confirms nor clarifies that tension.

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 with zero filler, and the returned fields are listed compactly. It is slightly under-specified rather than over-long, which is the better failure mode here.

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

Completeness2/5

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

An output schema exists, so return values need not be spelled out, but for a metrics tool the missing time-window/scope semantics and the undocumented required identifier leave real ambiguity. A single added clause about scope or where to obtain service_id would close most of the gap.

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 0%, so the lone service_id parameter is undocumented in the schema; the phrase 'for one service' only implicitly maps to it. The description does not state the identifier format or point to list_services as the source of valid IDs, so it only partly compensates for the coverage gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the resource (one service) and the exact metrics returned: call counts, error counts, and accrued fees. That is enough to distinguish it from siblings like list_services or get_receipt, though it omits an explicit verb such as 'get' or 'compute'.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no stated preconditions, and no mention of alternatives such as list_services for enumerating services before fetching per-service stats. The agent must infer usage entirely from the noun phrase.

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.