Skip to main content
Glama
@racehooks/mcp

@racehooks/mcp

Official

Get Usage Latency

get_usage_latency
Read-onlyIdempotent

Retrieves webhook delivery latency percentiles (p50, p95, p99) broken down by feed for the current period.

Instructions

Get webhook delivery latency percentiles (p50, p95, p99) broken down by feed for the current period.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_usage_latency"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already cover readOnly, idempotent, non-destructive and openWorld, so safety is settled. The description contributes the useful constraint that results are scoped to the current period and aggregated per feed, but it does not define what 'current period' means (rolling window vs billing cycle) or how feeds with no deliveries are represented.

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?

One sentence, front-loaded with the action and the returned metrics, with zero filler. Nothing could be removed without losing information.

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 parameters and no output schema, the description carries the burden of describing the return shape, and it does so well (three named percentiles, grouped by feed, current period). The only meaningful gap is the undefined period boundary, which matters for interpreting the numbers.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Zero parameters and 100% schema coverage, so the baseline is 4. The description correctly signals there is nothing to parameterize by stating the breakdown and period are implicit/server-determined.

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?

States a specific verb+resource (delivery latency percentiles) and even names the returned metrics (p50, p95, p99) and grouping (by feed). It is distinguishable from the count-oriented siblings (get_usage, get_usage_by_feed, get_usage_hourly), but it never names those siblings to sharpen the contrast.

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?

The phrase 'for the current period' implies a temporal scope, but the description gives no explicit when-to-use, no exclusions, and never routes the agent to get_usage_by_feed or get_usage_history for historical latency. The agent must infer the split between this and the four other usage tools on its own.

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