Skip to main content
Glama

get_collection_series

The latest readings of one device, for the screen that draws it. Authorised by YOUR session, never by the symbol in the crontab. A device that is not yours answers 404 exactly like one that does not exist — telling the two apart would confirm to a stranger that the id exists — 401 is only for sending no credential at all, which tells the caller what they already know. When the ingest origin cannot be read the answer is 503, not an empty series: a screen must say "I could not read now", never let you believe your machine stopped. Readings are reused for up to 60 seconds. Poll no faster than once per minute in steady use; poll_after_sec is the minimum wait for this response. During the first minute after registration an empty series may be checked every 5 seconds. Do not overlap requests. On 429 or 503, respect Retry-After and retry_after_sec, increase the delay after repeated failures, and keep the last successful reading. Changing n does not bypass reuse or capacity limits.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nNoHow many readings, newest first. Default 60, maximum 500.
idYesThe signed 22-character collection symbol, or a legacy UUID v4.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

With no annotations provided, the description carries the full behavioral burden and does so thoroughly. It discloses authentication semantics, intentionally identical 404 responses, the 401-only case, 503 behavior, 60-second response reuse, rate limits, Retry-After handling, and the requirement to keep the last successful reading.

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?

The description is long but dense and purposeful; nearly every sentence carries operational guidance. It is front-loaded with the core purpose and then elaborates on behavior. Some rhetorical phrasing could be trimmed, but the length is justified given the absence of annotations.

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

Completeness5/5

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

For a two-parameter read endpoint with no output schema and no annotations, the description is remarkably complete: it covers the intended caller, authorization model, error semantics, caching, polling cadence, retry behavior, and overload safety. Nothing critical seems missing for an agent to call it correctly.

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?

Schema coverage is 100%, so the baseline is 3. The description adds meaningful extra semantics: changing n does not bypass reuse or capacity limits, and id ownership is tied to the 404 behavior. This goes beyond the schema's basic parameter descriptions.

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 clearly identifies the resource as the latest readings of one device and positions it as a read operation ('readings', 'screen that draws it'), distinguishing it from write/collection-management siblings. It lacks an explicit verb like 'fetch' or 'retrieve', and it does not name sibling alternatives, so it stops short of a 5.

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?

Provides strong usage context: this is for the screen that draws a device, is authorized by the caller's session rather than a crontab symbol, and includes explicit polling guidance (no faster than once per minute, 5-second checks after registration, no overlapping requests, backoff on 429/503). It does not explicitly compare against sibling tools or state when not to use it, so it misses the top score.

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