Skip to main content
Glama

AgentStack read

agentstack.read
Read-onlyIdempotent

Run read-only batches of catalog actions with the same steps, options, and context body as execute, enabling safe data retrieval and evaluation without mutations.

Instructions

Read-only AgentStack MCP batch — only actions with effect read/evaluate. Same {steps, options, context} body as agentstack.execute.

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": {
      "steps": "<steps>"
    },
    "name": "agentstack.read"
  }
}

Input Schema

NameRequiredDescriptionDefault
stepsYesSteps; one heavy LLM per sync execute.
contextNosession.v1; project_id required.
optionsNobatch.v1 controls.

Output Schema

NameRequiredDescriptionDefault
okNoFalse on total failure.
job_idNoPoll id.
timingsNoBatch phase ms (hydrate_ms, preflight_ms, …).
agent_osNoFollow next_step.
recoveryNoNext action when blocked.
trace_idNoSupport trace.
error_codeNoStable failure code.
execution_modeNoasync when queued.
response_bytesNoApproximate serialized JSON size of the batch root.
partial_successNoSome steps failed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint and destructiveHint, so the safety profile is covered; the description adds non-obvious behavior by stating the batch enforces an effect-level gate (read/evaluate only), which tells the agent that mixed batches will be rejected. It does not explain the failure mode when a write action is included, so it is strong but not complete.

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?

Two sentences, zero filler, and the read-only constraint is front-loaded before the body-shape note. Everything earns its place.

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 a rich nested schema, full description coverage and an output schema present, the description only needs to add routing and constraint context, which it does. The remaining gap is behavioral on error conditions (what happens if a non-read action is submitted), which matters given the effect gate.

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 the meaning of steps, options and context is already carried by the schema. The only added information is that the body shape matches agentstack.execute, which is a structural hint rather than new parameter semantics; baseline 3 applies.

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 names a specific operation (a read-only batch of catalog actions) and constrains it to actions with effect read/evaluate, which separates it from agentstack.execute. The phrase 'AgentStack MCP batch' leans on product jargon and partially restates the tool name, so it stops just short of a fully self-contained purpose statement.

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?

It gives a clear selection rule: use this only for actions whose effect is read/evaluate, and by implication route write/effect actions to agentstack.execute since the body is identical. It does not spell out the inverse case explicitly ('use execute for mutations'), but the constraint makes the choice unambiguous.

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

Deploy Server

Other Tools