Skip to main content
Glama

missions_sync

Files frozen mission rounds into worker memory after mission close, skipping already-filed rounds and preventing overwrites on re-runs.

Instructions

Use after ethos mission close to file frozen rounds as memory.

Use after ethos mission close to file each frozen round into the worker's memory (memory-<worker>, type observation).

Reads this repo's .punt-labs/ethos/missions/ tree; safe to re-run — a round already filed is skipped, and a name held by another checkout is reported as an error, never overwritten.

Args: mission: Sync one mission id only; empty means every mission. dry_run: List what would be filed and post nothing. force: Re-file rounds the daemon already holds (matching key only).

Returns: A report of filed/skipped rounds, scan errors (including missing missions), and per-round daemon failures; dry-run reports proposed writes only. Uncaught errors return Error: ...; connection errors add recovery guidance.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "missions_sync"
  }
}

Input Schema

NameRequiredDescriptionDefault
forceNo
dry_runNo
missionNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.3.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description does real work: it discloses idempotency (a round already filed is skipped), non-destructive failure mode (a name held by another checkout is reported as an error, never overwritten), and the exact write target (`memory-<worker>`, type observation). It says nothing about required permissions or any rate limits for the memory daemon, which keeps it off a 5. The Returns paragraph largely restates the existing output schema rather than adding behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The guiding sentence is front-loaded, but it is immediately duplicated almost verbatim ('Use after ``ethos mission close`` to file frozen rounds as memory' twice), and the Returns block repeats what the output schema already declares. Structure is readable, yet several lines don't earn their place.

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?

For a 3-param, zero-required write tool with an output schema, the essentials are present: trigger timing, idempotency, write destination, and error semantics. Gaps remain around how the worker identity is determined and what permissions the daemon write requires.

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?

Schema description coverage is 0%, so the description must carry the three parameters, and it does: `mission` ('empty means every mission'), `dry_run` ('list what would be filed and post nothing'), and `force` ('re-file rounds the daemon already holds (matching key only)'). The `force` explanation is somewhat compressed, and `mission` doesn't state the expected id format or where ids come from.

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 concrete verb+resource: it files frozen mission rounds from `.punt-labs/ethos/missions/` into the worker's memory as observations. That is well beyond a restatement of the name `missions_sync`. It does not explicitly contrast itself with memory-writing siblings such as `remember`, so it stops short of a 5.

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

Usage Guidelines4/5

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

It gives an explicit trigger condition — 'Use after ``ethos mission close``' — plus a clear re-run policy ('safe to re-run'). No exclusion or named alternative (e.g. `remember`, `ingest`) is given, so the agent knows when to use it but not when to prefer a sibling.

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