Skip to main content
Glama

Capture batch

capture

Apply multiple claim operations in a single batch, using the reconciler to skip duplicates, archive superseded claims, and park contradictions for human review.

Instructions

Apply a BATCH of claim operations in one call, through the reconciler. Prefer this over several record_* calls when a turn produced more than one thing. The reconciler enforces what you should not be trusted to enforce yourself: a near-identical claim is skipped rather than duplicated, superseding archives the old claim with the reason instead of deleting it, and anything that would contradict a FROZEN claim is parked as needs_review for a human rather than applied. Append-only: nothing is removed, so the worst case is a claim you later supersede. Call resume_context first so you know existing ids and which claims are frozen.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
opsYesThe batch. Ops are applied in order against state that is re-read between each, so a supersede can target something added earlier in the same batch.
projectNoNamed project in the central store. Omit inside a repo that has .continuity/, where state is found by walking up from the working directory.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed10 schema fields changedv1.1.1
    • changedInput schema / properties / ops / description
      Previous value: -"Batch of capture ops."New value: +"The batch. Ops are applied in order against state that is re-read between each, so a supersede can target something added earlier in the same batch."
    • addedInput schema / properties / ops / items / properties / body / description
      Added value: +"Detail a future session needs. Keep short — re-read every session."
    • addedInput schema / properties / ops / items / properties / confidence / description
      Added value: +"'confirmed' only when the user stated it plainly."
    • addedInput schema / properties / ops / items / properties / conflicts_with / description
      Added value: +"Flag that this claim contradicts an existing one, by id or title. If that claim is frozen, this one is PARKED for review instead of applied."
    • addedInput schema / properties / ops / items / properties / old / description
      Added value: +"supersede only: the claim being replaced, by id or unique title substring. If it cannot be resolved uniquely the op is skipped with a note."
    • addedInput schema / properties / ops / items / properties / op / description
      Added value: +"add: a new claim. reject: a rejected alternative, which becomes a guardrail. supersede: replace an existing claim, keeping its lineage."
    • addedInput schema / properties / ops / items / properties / reason / description
      Added value: +"For reject: why it must never be re-proposed. For supersede: why the old claim was replaced. This reason travels into future resume contexts."
    • addedInput schema / properties / ops / items / properties / title / description
      Added value: +"One crisp fact. Also the dedupe key: a live claim with the same normalised title is skipped."
    • addedInput schema / properties / ops / items / properties / type / description
      Added value: +"Claim type: decision, constraint, architecture, question, risk, milestone, next_action, requirement, hypothesis, experiment, mission, rejected_alternative. Unknown types are REJECTED with a note rather than coerced. Defaults to decision for add."
    • changedInput schema / properties / project / description
      Previous value: -"Named project (central store). Omit inside a Claude Code repo."New value: +"Named project in the central store. Omit inside a repo that has .continuity/, where state is found by walking up from the working directory."
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

The description discloses important behavioral semantics beyond the annotations: near-identical claims are skipped rather than duplicated, superseding archives the old claim instead of deleting it, frozen-claim contradictions are parked for human review, and the operation is append-only. This goes well beyond the annotations, which only indicate mutation and non-idempotence, and directly shapes how an agent should reason about effects.

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 dense but every sentence adds operational value: purpose, usage guidance, reconciler semantics, safety guarantee, and prerequisite. It front-loads the core action and differentiator before explaining behavior. No filler undermines the message.

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?

The description covers prerequisites, batching rationale, side-effect behavior, and safety boundaries, making the tool callable with good judgment. The main gap is that it does not describe the return/response shape, especially per-operation outcomes like applied, skipped, parked, or rejected. Given no output schema, a brief note about what the call returns would make it fully complete.

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

Parameters4/5

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

The input schema already covers all parameters at 100%, so the baseline is 3. The description adds useful context beyond the schema, such as the dedupe-skip behavior, the append-only guarantee, and the need to call resume_context first to resolve ids and frozen states. It does not repeat parameter syntax, which is appropriate given the schema's richness.

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 states a specific action ('Apply a BATCH of claim operations'), a resource ('claim operations'), and a process ('through the reconciler'). It also distinguishes itself from sibling record_* calls by emphasizing batch scope. The title alone is vague, but the description resolves that ambiguity completely.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly says to prefer this over several record_* calls when a turn produced more than one thing, giving a clear selection criterion. It also provides a prerequisite: call resume_context first so the agent knows existing ids and frozen claims. This is actionable, concrete guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/vikcena01/ai-continuity-plugin'

If you have feedback or need assistance with the MCP directory API, please join our Discord server