Skip to main content
Glama

PCD (Portable Context Deck)

Commit

commit

Save a version snapshot of a supported object.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
handleNoDeck load handle as alternative to object_id. Resolved to deck_id server-side.
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 if handle not provided.
skill_nameNoSkill name — for skill commits, resolves to skill id when combined with handle (deck that owns the skill).
commit_noteYesShort description of what is in this version (not what will be in the next). Required — describes the snapshot's contents for the version chain. Empty strings rejected.
object_typeYesType of object to commit

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

B3.1/5.0
Behavior3/5

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

Annotations already flag mutating, non-destructive behavior, and the description is consistent, adding the 'snapshot' framing that implies append-to-version-chain rather than overwrite. The description aligns with annotations and adds that this is minimally useful layer, but does not disclose consequences such as whether versions become immutable, what happens on repeated commits, or failure behavior.

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?

The description is a single 9-word sentence that front-loads the verb and uses no wasted words. The phrase 'supported object' is slightly under-specified, but the text earns its place by not tangentially referencing schema elements.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With four object types, six parameters, and no output schema, the description is too thin: it neither explains what a successful commit returns (e.g., version identifier/confirmation) nor describes version-chain behavior or error cases. An agent can call the tool, but cannot anticipate the operational outcome.

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 schema fully documents all six parameters and the baseline is 3. The description adds no parameter-level semantics and does not even mention that object_type is restricted to the four enum values.

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 states a clear verb+resource ('Save a version snapshot'), which conveys the core commit/checkpoint function and is distinct from siblings like restore_version or diff. However, it does not name the supported object types (deck, console_doc, container, skill) nor explicitly differentiate from any sibling, leaving 'supported object' vague until the schema is read.

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 guidance is given on when to use this tool versus restore_version, diff, or the create/update tools, and no exclusions or prerequisites are stated. The only operational hint (contract: true as a help mode) lives in the JSON schema rather than the description, so an agent choosing a tool gets no assistance.

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