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. Omit to compare against the latest committed version. 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. 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."
  2. First observed

TDQS

A3.9/5.0
Behavior3/5

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

The readOnlyHint annotation already establishes that the tool does not mutate state, and the description adds no contradictory information. However, the description does not elaborate on any additional side effects or behavioral nuances beyond 'compare', so it provides only baseline transparency beyond the annotation.

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?

The description is a single, concise sentence that directly conveys the tool's function without unnecessary wording. It is front-loaded with the core action and resource, making it easy to parse quickly.

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?

Given the lack of an output schema, the description adequately explains what the tool does. It does not detail the exact format of the diff result, but this is not strictly required. The context from sibling tools and the object_type enum provides sufficient orientation for an agent to invoke it correctly.

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

Parameters5/5

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

Schema description coverage is 100%, and each parameter description adds meaningful semantic detail beyond the schema. For example, the 'version' parameter explains the default behavior when omitted and the special meaning for containers, and 'object_id' clarifies when it is required versus optional.

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

Purpose5/5

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

The description clearly states the verb 'compare' and the resource 'supported objects' with 'saved versions'. The object_type enum further specifies which object types are supported (deck, console_doc, container, skill), leaving no ambiguity about the tool's purpose.

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 description does not explicitly indicate when to use this tool over alternatives like commit or restore_version. It lacks guidance on scenarios where a diff is appropriate or when another sibling tool would be more suitable, leaving the agent to infer usage context.

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