Skip to main content
Glama

align_mark

Destructive

Records a user's judgement on a decision conflict as real or false, or saves a short note, so later alignment checks respect that verdict locally.

Instructions

Record the USER's judgement in the local graph on this machine. After a conflict from align_check_alignment or align_get_conflicts, ASK the user "Was that a real conflict?" and pass their answer; never decide for them. For a check hit: decision_id + verdict (real or false) + check_files (the files the check covered, as the check result lists them); a false verdict hides that decision only for a later check of the same files. For a stored conflict: decision_id + counterpart_id + verdict. Also kind note (text: one line of plain text, 500 characters at most). Each is recorded as passed on by you, under your agent name; the user sees it labelled that way, a hit you hide is shown as hidden by you, and every check says so. Nothing is shared or sent; sharing is a separate step the user confirms. You cannot hide a decision (not_a_decision), mark one replaced (supersede) or ratify: those are the user's own acts, and asking for one returns the exact align mark or align ratify command to give them. You cannot replace a mark the user made themselves. It never takes a token or key. The user can list or undo marks with align mark --list and --undo.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "decision_id": "<decision_id>"
    },
    "name": "align_mark"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoverdict (default) or note
textNoWith note: the note
verdictNoWith a verdict: real, or false (a false alarm), as the USER answered
check_filesNoA check hit: the files the check covered, exactly as the check result listed them
decision_idYesThe decision the user is judging (its id from the check or from align_get_conflicts)
counterpart_idNoA stored conflict: the other decision of the pair.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.1

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false and destructiveHint=true, and the description adds substantial context beyond that: marks are recorded under the agent's name and labelled as such to the user, a false verdict hides a decision only for later checks of the same files, nothing is shared or sent, and marks can be listed/undone. The one gap is that the description never explains the destructiveHint=true consequence — the durable write to the local graph — in terms of reversibility beyond mentioning `--undo`.

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 core instruction and the user-consent rule are front-loaded, which is good, but the single dense paragraph mixes guidance, field instructions, attribution rules, exclusions, and CLI hints, with some repetition ("every check says so", "sharing is a separate step the user confirms", "never decide for them" / "asking for one returns..."). It is informative but would be easier to act on if split into use-when, required-fields, and limits.

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?

For a 6-parameter mutation tool with no output schema, the description covers the interaction contract, the two modes of recording, the exact fields each mode needs, attribution to the agent, non-sharing guarantees, and the hard limits with fallback commands. Nothing an agent needs to call it correctly or to explain the result to the user is missing.

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 coverage is 100%, so the schema already documents each field, and the description mostly restates the conditional pairings (decision_id + verdict + check_files for a check hit; decision_id + counterpart_id for a stored conflict) and that note text is one line up to 500 characters. It clarifies which combinations belong together, which is mild added value over the per-field descriptions, so a 3 is right rather than higher.

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?

States a specific verb and resource — "Record the USER's judgement in the local graph on this machine" — and immediately distinguishes it from the read-side siblings align_check_alignment and align_get_conflicts by requiring a user-supplied verdict after those tools run. An agent can tell it apart from recording/sharing tools without opening the 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?

Gives explicit sequencing (after a conflict from align_check_alignment or align_get_conflicts), an explicit interaction rule (ASK the user, never decide for them), and explicit exclusions: it cannot hide a decision, supersede, or ratify, and those requests return the exact `align mark` / `align ratify` command instead. When-to-use and when-not-to-use are both covered with named alternatives.

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