Skip to main content
Glama

Poll agent records

stream_agent_records
Read-only

Poll redacted request-scoped agent records using a single-use cursor.

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": "<request>"
    },
    "name": "stream_agent_records"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum records. Default 50.
cursorNoOpaque single-use cursor from the prior response.
requestYesNumeric private request id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / additionalProperties
      Previous value: -{}New value: +false
  2. Changed1 schema field changed
    • changedInput schema / additionalProperties
      Previous value: -falseNew value: +{}
  3. Changed4 schema fields changed
    • addedInput schema / properties / request / anyOf
      Added value: +[
      +  {
      +    "exclusiveMinimum": 0,
      +    "maximum": 9007199254740991,
      +    "type": "integer"
      +  },
      +  {
      +    "pattern": "^[1-9][0-9]{0,15}$",
      +    "type": "string"
      +  }
      +]
    • removedInput schema / properties / request / exclusiveMinimum
      Removed value: -0
    • removedInput schema / properties / request / maximum
      Removed value: -9007199254740991
    • removedInput schema / properties / request / type
      Removed value: -"integer"
  4. Added

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=false, destructiveHint=false and openWorldHint=false, so the safety profile is covered externally. The description meaningfully adds that records are redacted and request-scoped, but it says nothing about pagination termination (what an absent cursor means), cursor expiry behavior, retention, or rate limits — relevant for a polling tool.

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?

A single sentence with no redundant clauses, and the scoping constraint ('request-scoped') is front-loaded with the mechanism ('single-use cursor') at the end. Nothing in it is filler.

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?

Read-only status and parameter definitions are fully covered by annotations and schema, and there is no output schema to explain. However, for a cursor-based polling tool, the description omits how the stream ends (no cursor returned?), what happens on cursor reuse or expiry, and what 'redacted' removes — gaps that affect correct looping behavior.

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 100%, so limit, cursor and request are fully documented in the schema, including maximums and the opaque single-use nature of the cursor. The description adds no parameter meaning beyond that, which is the expected baseline when the schema carries the burden.

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 (poll) and resource (redacted request-scoped agent records), scoped by request id. It is clear what the tool returns, but it never mentions how it differs from siblings like get_request_status or get_result_bundle, which also surface request-scoped data.

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 word 'poll' implies repeated invocation, and 'single-use cursor' hints at a continuation loop, but there is no explicit when-to-use, when-not-to-use, or alternative routing. An agent cannot tell from this sentence whether to use this tool or get_request_status to obtain the same records.

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