Skip to main content
Glama
ShadowGraph

ShadowGraph

Official

shadowgraph_reconsider

Audits a decision by ID or project, explains every reopen verdict (grounded, contested, unevaluated), and commits an audit revision without changing decision status.

Instructions

Audit one decision by decisionId (or project): explain all reopen verdicts (grounded, contested, unevaluated). Use shadowgraph_review to queue signals, or shadowgraph_supersede to replace it. Rejects unknown, out-of-scope or closed decisionId. Commits an audit revision without changing decision status; grants widen reads only. review_recommended: condition fired; manual_review: unresolved evidence; unchanged: complete, no trigger.

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

Input Schema

NameRequiredDescriptionDefault
factsNoNon-persisted {key:value} map overriding stored facts for object rules (e.g. {ready:true}); arrays/non-objects error. Unlisted keys read active stored facts; string rules require changedFacts.
grantIdNoAlias for accessId; conflicting identifiers are refused.
projectNoProject or confirmed workspace binding; otherwise origin-only. No identity returns an empty scoped view.
accessIdNoGrant ID, rechecked at use. Widens reads only, never write authority. Presenting it commits a revision and bounded audit (at most one aggregate per grant, surface, outcome and UTC day). Conflicts with grantId are refused.
originIdNoCapture-origin ID for unattributed records when project is omitted.
decisionIdNoDecision ID from shadowgraph_record_decision, shadowgraph_search, or shadowgraph_context. Narrows to one decision inside the resolved project/originId scope (never supplies scope). Eligible: proposed, planned, in_progress, executed, validated, reconsidered, stale; unknown, out-of-scope, or closed (archived, abandoned, superseded) IDs error. Omit to audit all eligible decisions in scope (unresolved scope yields manual_review/partial).
changedFactsNoNon-persisted string[] of changed fact keys firing plain string reopenWhen rules (e.g. ["budget"]); non-strings error. Symbolic strings ("key >= value") and object rules read values from stored facts or facts overrides instead.

Output Schema

NameRequiredDescriptionDefault
scopeYesWhat was reconsidered.
verdictYesAggregate over every decision in scope: a definite trigger outranks uncertainty, which outranks unchanged.
decisionsYesOne entry per decision in scope, including decisions with nothing to report.
readProvenanceNoOriginal read bounds; reuse intersects these with currently valid authority.
evaluationCompletenessYespartial when any decision in scope was partial.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.44.1
    • changedInput schema / properties / changedFacts / description
      Previous value: -"Non-persisted string[] of changed fact keys firing string reopenWhen rules (e.g. [\"budget\"]); non-strings error. Object rules read values from facts overrides or stored facts instead."New value: +"Non-persisted string[] of changed fact keys firing plain string reopenWhen rules (e.g. [\"budget\"]); non-strings error. Symbolic strings (\"key >= value\") and object rules read values from stored facts or facts overrides instead."
  2. Changed5 schema fields changedv0.43.6
    • changedInput schema / properties / accessId / description
      Previous value: -"Grant ID, rechecked at use. Widens reads only, never write authority. Presenting an access key commits a revision and bounded operational audit: at most one aggregate per grant, surface, outcome and UTC day. Conflicts with a different grantId are refused."New value: +"Grant ID, rechecked at use. Widens reads only, never write authority. Presenting it commits a revision and bounded audit (at most one aggregate per grant, surface, outcome and UTC day). Conflicts with grantId are refused."
    • changedInput schema / properties / changedFacts / description
      Previous value: -"Ephemeral changed-key signals for string-form reopenWhen rules; not stored facts. Example: changedFacts:[\"budget\"] fires reopenWhen:[\"budget\"]. Object rules instead read values from facts overrides or stored facts."New value: +"Non-persisted string[] of changed fact keys firing string reopenWhen rules (e.g. [\"budget\"]); non-strings error. Object rules read values from facts overrides or stored facts instead."
    • changedInput schema / properties / decisionId / description
      Previous value: -"Limit the resolved project/origin to this decision; the ID does not supply scope. Unknown, out-of-scope, archived, abandoned or superseded decisions are rejected. Omit to explain all eligible decisions in scope."New value: +"Decision ID from shadowgraph_record_decision, shadowgraph_search, or shadowgraph_context. Narrows to one decision inside the resolved project/originId scope (never supplies scope). Eligible: proposed, planned, in_progress, executed, validated, reconsidered, stale; unknown, out-of-scope, or closed (archived, abandoned, superseded) IDs error. Omit to audit all eligible decisions in scope (unresolved scope yields manual_review/partial)."
    • changedInput schema / properties / facts / description
      Previous value: -"Temporary key/value overrides for object rules; unlisted keys use stored facts. Example: facts:{ready:true} tests {key:\"ready\",value:true}. This does not record a fact or fire a string rule; changedFacts supplies those changed-key signals."New value: +"Non-persisted {key:value} map overriding stored facts for object rules (e.g. {ready:true}); arrays/non-objects error. Unlisted keys read active stored facts; string rules require changedFacts."
    • changedInput schema / properties / originId / description
      Previous value: -"Capture-origin id; with no project the record belongs to it alone."New value: +"Capture-origin ID for unattributed records when project is omitted."
  3. Changed3 schema fields changedv0.42.3
    • changedInput schema / properties / changedFacts / description
      Previous value: -"Fact keys that just changed. Only string-form reopenWhen rules match this list; it is an ephemeral signal, not durable state."New value: +"Ephemeral changed-key signals for string-form reopenWhen rules; not stored facts. Example: changedFacts:[\"budget\"] fires reopenWhen:[\"budget\"]. Object rules instead read values from facts overrides or stored facts."
    • changedInput schema / properties / decisionId / description
      Previous value: -"Reconsider only this decision. An unknown id, or one belonging to another project, is an error rather than an empty result, so a mis-addressed request can never read as \"nothing changed\"."New value: +"Limit the resolved project/origin to this decision; the ID does not supply scope. Unknown, out-of-scope, archived, abandoned or superseded decisions are rejected. Omit to explain all eligible decisions in scope."
    • changedInput schema / properties / facts / description
      Previous value: -"Fact key/value overrides evaluated instead of the stored facts of the same key. Stored facts are used for every key not listed here, so reopen rules still work after a restart."New value: +"Temporary key/value overrides for object rules; unlisted keys use stored facts. Example: facts:{ready:true} tests {key:\"ready\",value:true}. This does not record a fact or fire a string rule; changedFacts supplies those changed-key signals."
  4. Changed1 schema field changedv0.42.2
    • changedInput schema / properties / accessId / description
      Previous value: -"Grant ID, rechecked at use."New value: +"Grant ID, rechecked at use. Widens reads only, never write authority. Presenting an access key commits a revision and bounded operational audit: at most one aggregate per grant, surface, outcome and UTC day. Conflicts with a different grantId are refused."
  5. Addedv0.42.1

TDQS

A3.9/5.0
Behavior4/5

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

Adds real context beyond the annotations: "Commits an audit revision without changing decision status; grants widen reads only," which reconciles the non-readOnly, non-destructive annotation profile by explaining that a write occurs yet decision state is untouched. The verdict legend (review_recommended/manual_review/unchanged) further discloses outcome meanings. It does not discuss idempotency or repeat-call effects, which annotations flag as non-idempotent, leaving a small 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-loaded with the core action and scope, followed by alternatives, rejection rules, side effects, and a compact verdict glossary. Nearly every clause carries distinct information, though the compressed semicolon-separated verdict legend at the end is denser than ideal. Overall efficient with minimal waste.

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?

With an output schema present, the description needn't detail return structure, and it still supplies mutation semantics, scope rules, and verdict meanings. For a seven-parameter mutation tool with nested objects, that is close to complete. Minor omissions like idempotency behavior are covered indirectly by annotations.

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 description coverage is 100%, so the schema already documents all seven parameters in depth, including decisionId eligibility, grant aliasing, and facts overrides. The description reinforces decisionId scope ("by decisionId (or project)") and rejection rules but largely restates what the schema provides. Baseline 3 is appropriate when the schema does the heavy lifting.

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?

States a specific verb and resource: "Audit one decision by decisionId (or project): explain all reopen verdicts (grounded, contested, unevaluated)." This tells an agent exactly what the tool produces and distinguishes it from siblings by naming shadowgraph_review and shadowgraph_supersede. Slightly indirect because the tool name is 'reconsider' while the described action is 'audit/explain', but the operative behavior is unambiguous.

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?

Explicitly routes the agent: "Use shadowgraph_review to queue signals, or shadowgraph_supersede to replace it," and lists rejection conditions ("Rejects unknown, out-of-scope or closed decisionId"). This gives clear when-to-use and when-not-to-use signals. It stops short of a full decision tree (e.g. when to audit one decision versus the whole project), but the core alternatives are covered.

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