Skip to main content
Glama

response_trend

Analyze a request's response history to show latency trends and status code changes, flagging when it began failing so you can diagnose regressions over time.

Instructions

Analyse the response history for a request over time. Shows latency trends, status code changes, and flags when it started failing.

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

Input Schema

NameRequiredDescriptionDefault
request_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.6-beta

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden. It does reveal the shape of the analysis (latency trends, status changes, failure flag), which is real behavioral value, but it omits whether the call is read-only, how much history is considered, whether a time window can be controlled, and what happens when no history exists.

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

Conciseness5/5

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

Two short sentences, front-loaded with the action and followed by the concrete outputs. No filler, no redundancy, and the reader knows what they get before the second sentence ends.

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

Completeness3/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 explain returns, and it partially does by listing latency trends, status changes, and failure detection. It still leaves the agent unsure about the time horizon, the data source (must responses have been saved first?), and minimum sample requirements for a meaningful trend.

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% for the single request_id parameter, so the description must compensate. It implies the parameter identifies the request whose history is analysed, but adds no format, source, or scoping detail, and notably offers no way to bound the 'over time' window despite emphasizing time.

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 a specific verb and resource: 'Analyse the response history for a request over time', and enumerates the outputs (latency trends, status code changes, failure onset). This distinguishes it reasonably from a raw history fetch, though it never names a sibling such as get_response_history to make the boundary explicit.

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

Usage Guidelines3/5

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

Usage is only implied by the phrase 'over time' and the trend-oriented outputs, which suggests it fits when the agent wants aggregate change rather than raw records. There is no explicit when-to-use, when-not-to-use, or named alternative, so the agent must infer the choice against get_response_history and inspect_response.

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