Skip to main content
Glama

ToolDelta

delta_read

Read-onlyIdempotent

Read JSON changes published by an upstream producer using ToolDelta SDK BEFORE data reaches the model. Supply a read capability; do not paste full payloads into this tool. A patch is only usable with its verified base. Missing/stale base returns snapshot or reference. Latest-state comparison, not complete event history.

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": {
      "streamId": "<streamId>",
      "readKey": "<readKey>"
    },
    "name": "delta_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
sinceNo
budgetNo
readKeyYesRead-only capability from the authorized producer. Keep private.
baseHashNo
streamIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds genuinely useful behavior: patches are only valid against a verified base, missing/stale bases fall back to a snapshot or reference, and results reflect latest state rather than full event history. It does not describe the response shape or how budget interacts with truncation.

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?

Five short sentences, front-loaded with the core action, and no filler. The telegraphic style makes one phrase ambiguous ('Supply a read capability'), but overall it is tight and well ordered.

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?

With no output schema and low schema description coverage, the description does well on fallback behavior but leaves the agent guessing about the budget parameter, the meaning of 'since', and what a returned snapshot or reference actually contains. Adequate for a read tool, but not complete for a five-parameter delta reader.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 20%, so the description must carry more weight, and it only glosses two of five parameters conceptually ('read capability' for readKey, 'verified base' for baseHash). It says nothing about 'since', 'streamId', or the 'budget' window (1024–16384), leaving the most consequential parameter unexplained.

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 gives a specific verb and resource: reading JSON deltas published by an upstream producer via the ToolDelta SDK. It also frames the tool's nature ('latest-state comparison, not complete event history'), which helps distinguish it from history-oriented siblings, though no sibling is named 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?

It states an operational constraint ('Supply a read capability; do not paste full payloads into this tool') and explains that a patch requires its verified base, which implies when the tool is appropriate. However, it never says when to prefer delta_slice or delta_usage, and gives no explicit exclusions or prerequisites beyond the base requirement.

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