Skip to main content
Glama

agy_read

Read a job's event log by full or unique-prefix ID; optionally start at a 0-based offset and translate events to raw, Claude, or Codex wire format.

Instructions

Read events from a job's event log. since is the 0-based offset; translate may be 'raw', 'claude', or 'codex' to wire-format the events (default returns canonical events as dicts). job_id may be a full id or unique prefix.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sinceNo
job_idYes
translateNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
countNo
errorNo
sinceNo
eventsNo
job_idNo
successYes
translateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.8

TDQS

B3.4/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 behavioral burden. It does disclose useful operational detail (since is a 0-based offset, the default return is canonical event dicts, job_id accepts a unique prefix), but it says nothing about whether reads are non-destructive, whether the call blocks waiting for new events, or whether a cursor/offset is persisted across calls.

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?

Three compact clauses, purpose front-loaded, then per-parameter clarifications in the order the agent will encounter them. No filler sentences.

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?

The output schema exists, so return values needn't be documented. However, for a polling-style log-read tool with no annotations and many confusable siblings, the description should have covered whether the read blocks, whether it is safe/repeatable, and how it relates to agy_result/agy_status. Those gaps leave the agent under-informed.

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 0% (titles only), so the description must carry the load, and it documents all three parameters: the meaning and base of `since`, the accepted `translate` values with the default behavior spelled out, and the prefix-matching rule for `job_id`. It stops short of explaining how the raw/claude/codex wire formats differ, keeping it from a 5.

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 first sentence gives a specific verb and resource: 'Read events from a job's event log.' That is unambiguous about what the tool does. What it lacks is any differentiation from siblings such as agy_result or agy_status, which an agent must distinguish to pick the right tool.

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?

There is no explicit when-to-use, when-not-to-use, or alternative-tool guidance. Nothing tells the agent whether to call agy_read versus agy_result (for results) or agy_status (for state), so selection rests entirely on inferring from the name.

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