Skip to main content
Glama

PCD (Portable Context Deck)

Diff

diff
Read-only

Compare supported objects with saved versions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
handleNoDeck load handle — alternative to object_id for decks; for container, resolves to that deck's container.
versionNoVersion number to compare against; a deck number resolves to its commit. Omit to compare against the newest saved version (for a deck, possibly a pre-update snapshot). For container, names the OLDER snapshot the latest is compared against; omit for latest vs previous.
contractNoHelp mode — return the complete contract with no operation performed.
object_idNoUUID of the object (deck_id, console_doc id, container_id, or skill id). Required for console_doc and skill; optional for deck and container when handle is provided.
object_typeYesType of object to diff

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / version / description
      Previous value: -"Version number to compare against. Omit to compare against the latest committed version. For container, names the OLDER snapshot the latest is compared against; omit for latest vs previous."New value: +"Version number to compare against; a deck number resolves to its commit. Omit to compare against the newest saved version (for a deck, possibly a pre-update snapshot). For container, names the OLDER snapshot the latest is compared against; omit for latest vs previous."
  2. Changed2 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • changedInput schema / properties / contract / description
      Previous value: -"Help mode — pass true to receive this tool's full _meta.contract (all variants) with NO operation performed."New value: +"Help mode — return the complete contract with no operation performed."
  3. First observed

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds nothing beyond restating the purpose: it omits what a comparison returns, how versions are resolved, or the meaning of the 'contract' help mode (left entirely to the schema).

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?

A single tight, front-loaded sentence with no wasted words. It is efficient, though arguably too terse for the tool's complexity.

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?

For a read-only tool with full schema coverage the description is minimally adequate, but with no output schema the agent gets no sense of what the diff result contains, and 'supported objects' is never clarified. The heavy lifting falls entirely to structured fields.

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 baseline is 3. The description provides zero additional parameter meaning beyond what the schema already documents for handle, version, contract, object_id, and object_type.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The verb 'compare' with the resource 'objects' is present, but 'supported objects' is vague and never names the actual types (deck, console_doc, container, skill) that the schema enum reveals. It does not distinguish itself from version-related siblings like restore_version or commit.

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?

No when-to-use guidance, no prerequisites, and no alternative named. An agent cannot tell from the description when diffing is preferable to restore_version or read_deck for inspecting changes.

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