Skip to main content
Glama

Read an offer's health log

get_offer_health
Read-onlyIdempotent

Read an offer's health log

The offer's health events, newest first: the reason, time to first token (p95), answers and failures in the hour, and an error category. Sellers only: an account that has not accepted the selling terms gets 403 not_seller.

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

Input Schema

NameRequiredDescriptionDefault
idYesThe offer id.
limitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive and closed-world, so the bar is lower; the description still adds genuine context: ordering (newest first), the returned signal set, and the seller-terms authorization 403. It does not mention pagination or whether the hourly window is rolling, which is the only remaining behavioral gap.

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?

Front-loaded and dense: the purpose line, then a single overview sentence, then the access constraint. The first line merely restates the title, a small redundancy, but every other clause carries 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 output schema, the description correctly spends its budget enumerating return fields and the seller-only precondition, which is what an agent needs to call and interpret it. The one omission is any statement about how `limit` affects the result set size.

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 coverage is 50% — `id` is documented in the schema, while `limit` (default 100, max 500) is undocumented in both schema and description. "Newest first" hints at ordering relevance but the description adds no meaning about how limit truncates or what happens past 500, so it does not compensate for the 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?

Specific verb+resource: "Read an offer's health log," then a colon-list naming exactly what the log contains (reason, p95 time to first token, hourly answers/failures, error category). This distinguishes it clearly from write-side siblings like reset_offer_health, though it does not name that counterpart explicitly.

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?

Implies usage by scoping it to "Sellers only" and stating the failure mode (403 not_seller), which is a real precondition. However, it never says when to reach for this vs. reset_offer_health or get_offer, leaving the agent to infer the diagnostic-versus-management split from names alone.

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