Skip to main content
Glama

atlas_set_status

Idempotent

Flip a Work Order or Markdown checkbox between open and done in local Git docs, verify the write, and block completion when required symbols have no callers.

Instructions

Flip the status marker of an existing Work Order (⬜ OPEN <-> ✅ DONE) or Markdown checkbox task (- [ ] <-> - [x]) in local Git documentation (docs/ARCHITECTURE.md).

Use this tool as the final step when completing an existing open Work Order (`wo=N`) or a checkbox
step (`task='...'`). Legacy GDD-only Work Orders are automatically promoted into `docs/ARCHITECTURE.md`
without mutating read-only Google Docs. To append a brand-new Work Order entry, use `atlas_publish` instead.

Behavior & Output:
- Pre-write wiring gate: when `status='done'`, checks that all symbols in `verify_symbols` (and
  `.atlas/wo-symbols.yml`) are defined and have at least one caller/reference. Refuses with
  `{changed: false, refused: true, refusal: "..."}` if any symbol is unwired.
- Verified local update: updates the status marker or checkbox in `docs/ARCHITECTURE.md`, verifies
  by reading back from disk, and returns JSON `{changed, verified, status}`.

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": "atlas_set_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
woNoExisting Work Order number to update (positive integer, e.g. 8 for 'Work Order 8'). Provide `wo` to close/reopen a Work Order, `task` to toggle a checkbox step, or both `wo` and `task` together to scope duplicate step text to a specific Work Order.
taskNoSubstring identifying a Markdown checkbox item (`- [ ] ...`) to toggle between `- [ ]` ('open') and `- [x]` ('done'). Combine with `wo` when multiple Work Orders contain identical step text (e.g. 'Add unit tests').
statusNoNew status: 'done' (`✅ DONE` / `- [x]`, default) or 'open' (`⬜ OPEN` / `- [ ]`).done
verify_symbolsNoOptional list of function or class names that must be defined and called/referenced in the codebase before `status='done'` is allowed. Merged with `.atlas/wo-symbols.yml`.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.5.0
    • changedInput schema / properties / task / description
      Previous value: -"Substring identifying a Markdown checkbox item (`- [ ] ...`) to toggle between `- [ ]` ('open') and `- [x]` ('done') when `wo` is omitted (e.g. 'Balance damage formula')."New value: +"Substring identifying a Markdown checkbox item (`- [ ] ...`) to toggle between `- [ ]` ('open') and `- [x]` ('done'). Combine with `wo` when multiple Work Orders contain identical step text (e.g. 'Add unit tests')."
    • changedInput schema / properties / wo / description
      Previous value: -"Existing Work Order number to update (positive integer, e.g. 8 for 'Work Order 8'). Provide either `wo` or `task`."New value: +"Existing Work Order number to update (positive integer, e.g. 8 for 'Work Order 8'). Provide `wo` to close/reopen a Work Order, `task` to toggle a checkbox step, or both `wo` and `task` together to scope duplicate step text to a specific Work Order."
  2. Changed8 schema fields changedv0.2.3
    • changedInput schema / properties / status / description
      Previous value: -"New status for the Work Order: 'done' (`✅ DONE`, default) or 'open' (`⬜ OPEN`)."New value: +"New status: 'done' (`✅ DONE` / `- [x]`, default) or 'open' (`⬜ OPEN` / `- [ ]`)."
    • addedInput schema / properties / task
      Added value: +{
      +  "anyOf": [
      +    {
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Substring identifying a Markdown checkbox item (`- [ ] ...`) to toggle between `- [ ]` ('open') and `- [x]` ('done') when `wo` is omitted (e.g. 'Balance damage formula').",
      +  "title": "Task"
      +}
    • addedInput schema / properties / wo / anyOf
      Added value: +[
      +  {
      +    "minimum": 1,
      +    "type": "integer"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / wo / default
      Added value: +null
    • changedInput schema / properties / wo / description
      Previous value: -"Existing Work Order number to update (positive integer, e.g. 8 for 'Work Order 8')."New value: +"Existing Work Order number to update (positive integer, e.g. 8 for 'Work Order 8'). Provide either `wo` or `task`."
    • removedInput schema / properties / wo / minimum
      Removed value: -1
    • removedInput schema / properties / wo / type
      Removed value: -"integer"
    • removedInput schema / required
      Removed value: -[
      -  "wo"
      -]
  3. Changed5 schema fields changedv0.1.1
    • addedInput schema / properties / status / description
      Added value: +"New status for the Work Order: 'done' (`✅ DONE`, default) or 'open' (`⬜ OPEN`)."
    • addedInput schema / properties / status / enum
      Added value: +[
      +  "done",
      +  "open"
      +]
    • addedInput schema / properties / verify_symbols / description
      Added value: +"Optional list of function or class names that must be defined and called/referenced in the codebase before `status='done'` is allowed. Merged with `.atlas/wo-symbols.yml`."
    • addedInput schema / properties / wo / description
      Added value: +"Existing Work Order number to update (positive integer, e.g. 8 for 'Work Order 8')."
    • addedInput schema / properties / wo / minimum
      Added value: +1
  4. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare mutation, idempotency, and non-destructiveness, and the description adds substantial value beyond that: a pre-write wiring gate on `status='done'`, the exact refusal payload, read-back verification from disk, and legacy GDD promotion behavior. It does not mention permissions/auth requirements, which is the main residual gap.

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?

Front-loads the operation and the sibling routing before a clearly headed 'Behavior & Output' section, so it scans well. Slightly redundant in restating the returned JSON keys that the output schema already declares.

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

Completeness5/5

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

Given four optional parameters, a gate that can refuse writes, and a declared output schema, the description covers the mutation target, the failure mode, and the verification step. An agent has everything needed to call it and interpret a refusal.

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 coverage is 100%, so the baseline would be 3, but the description adds behavioral meaning: `verify_symbols` is merged with `.atlas/wo-symbols.yml` and blocks `status='done'` when symbols are unwired, and combining `wo` with `task` scopes duplicate step text. These are semantics beyond field-level docs.

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?

Names a specific verb (flip/toggle status marker) and the exact resources affected — Work Order `⬜ OPEN`/`✅ DONE` markers and Markdown `- [ ]`/`- [x]` checkboxes in `docs/ARCHITECTURE.md`. It explicitly distinguishes itself from `atlas_publish`, which appends new entries, so an agent can route correctly without opening either schema.

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?

States precisely when to use it ('final step when completing an existing open Work Order or a checkbox step') and names the alternative for the other case ('To append a brand-new Work Order entry, use `atlas_publish` instead'). It also clarifies the `wo` vs `task` vs both selection condition.

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