Skip to main content
Glama

PCD (Portable Context Deck)

Write Container Meta

write_container_meta

Maintain the container specialist roster.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionNoDefault 'write'. 'validate': pre-send check — per-item required roster fields + the ≤300 description cap — WITHOUT writing; returns { valid, missing_required[], over_cap: [{field, len, cap}], not_checked? }.
contractNoHelp mode — return the complete contract with no operation performed.
specialistsYesCompiled context entries — one per committed specialized-context in the container. Roster fields locked: load (boot key), name (display), description (≤300 char summary), status, use_when (when to enter this context), do_not_use_when (when to stay out).
container_idYesContainer ID to write container-meta for

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.6/5.0
Behavior4/5

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

The description and action mode explain that normal use writes, while validate and contract modes explicitly do not perform writes, which is transparent for a write-capable tool. It does not clarify whether writing replaces or merges the existing specialist roster, so some behavioral detail is still missing.

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 overall definition is compact and the schema-level descriptions are well structured without unnecessary verbosity. The top-level description, however, is very terse and adds little beyond the title.

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?

The validate and contract modes describe their expected outputs, but the normal write response, error behavior, and whether the specialists array replaces or merges existing entries are not documented. Given the complex array payload and lack of an output schema, these gaps matter for a caller.

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?

All parameters are described with meaningful semantics beyond their names: container_id indicates the target container, specialists are described as compiled context entries with locked roster fields, and action/contract explain modes and expected behavior. Schema coverage is complete and descriptions add real value.

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?

Tool title and first sentence indicate maintenance of a container specialist roster, but 'Maintain' is not a precise verb and the tool's full purpose only becomes clear from the schema's action and specialists descriptions. It does not explicitly differentiate itself from sibling tools such as update_meta.

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?

The action parameter gives useful guidance for 'write', 'validate', and 'contract' modes, including that validate performs no writing. However, there is no explicit guidance on when to choose this tool over alternative sibling tools or when a caller should prefer one mode over another.

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