Skip to main content
Glama
Parker-Fawcett

rebuild-dossier

Get case queue

get_case_queue
Destructive

Return unresolved ambiguity cases from a repo's reconciliation process. Optionally walk through open cases interactively to resolve them via MCP elicitation.

Instructions

Return unresolved ambiguity cases from reconciliation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repoPathYesRepo path whose .dossier/ case queue to read
interactiveNoWhen true, walk open cases via MCP elicitation instead of just listing them

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
openYes
casesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.2.6-paper
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": false,
      +  "properties": {
      +    "cases": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "autoResolution": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "decision": {
      +                "enum": [
      +                  "intentional",
      +                  "bug"
      +                ],
      +                "type": "string"
      +              },
      +              "reason": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "decision",
      +              "reason"
      +            ],
      +            "type": "object"
      +          },
      +          "conflict": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "detail": {
      +                "type": "string"
      +              },
      +              "kind": {
      +                "enum": [
      +                  "known_bug_vs_intentional_evidence",
      +                  "signal_disagreement"
      +                ],
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "kind",
      +              "detail"
      +            ],
      +            "type": "object"
      +          },
      +          "humanDecision": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "decidedAt": {
      +                "type": "string"
      +              },
      +              "decision": {
      +                "type": "string"
      +              },
      +              "note": {
      +                "type": "string"
      +              },
      +              "via": {
      +                "enum": [
      +                  "elicitation",
      +                  "resolve_case_tool"
      +                ],
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "decision",
      +              "decidedAt",
      +              "via"
      +            ],
      +            "type": "object"
      +          },
      +          "id": {
      +            "type": "string"
      +          },
      +          "matchedKnownBugs": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "relatedCaseIds": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "signals": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "affirmativeIntent": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "confidence": {
      +                      "maximum": 1,
      +                      "minimum": 0,
      +                      "type": "number"
      +                    },
      +                    "kind": {
      +                      "enum": [
      +                        "comment",
      +                        "docstring",
      +                        "todo",
      +                        "fixme"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    "locator": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "endLine": {
      +                          "maximum": 9007199254740991,
      +                          "minimum": -9007199254740991,
      +                          "type": "integer"
      +                        },
      +                        "file": {
      +                          "type": "string"
      +                        },
      +                        "startLine": {
      +                          "maximum": 9007199254740991,
      +                          "minimum": -9007199254740991,
      +                          "type": "integer"
      +                        }
      +                      },
      +                      "required": [
      +                        "file",
      +                        "startLine",
      +                        "endLine"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "text": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "kind",
      +                    "text",
      +                    "locator",
      +                    "confidence"
      +                  ],
      +                  "type": "object"
      +                },
      +                "claim": {
      +                  "type": "string"
      +                },
      +                "detectedAt": {
      +                  "type": "string"
      +                },
      +                "evidenceText": {
      +                  "type": "string"
      +                },
      +                "id": {
      +                  "type": "string"
      +                },
      +                "locator": {
      +                  "anyOf": [
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "endLine": {
      +                          "maximum": 9007199254740991,
      +                          "minimum": -9007199254740991,
      +                          "type": "integer"
      +                        },
      +                        "file": {
      +                          "type": "string"
      +                        },
      +                        "startLine": {
      +                          "maximum": 9007199254740991,
      +                          "minimum": -9007199254740991,
      +                          "type": "integer"
      +                        }
      +                      },
      +                      "required": [
      +                        "file",
      +                        "startLine",
      +                        "endLine"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "method": {
      +                          "type": "string"
      +                        },
      +                        "path": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "path"
      +                      ],
      +                      "type": "object"
      +                    }
      +                  ]
      +                },
      +                "source": {
      +                  "enum": [
      +                    "ingest",
      +                    "crawl",
      +                    "known_bug"
      +                  ],
      +                  "type": "string"
      +                },
      +                "topicKey": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "id",
      +                "source",
      +                "locator",
      +                "topicKey",
      +                "claim",
      +                "evidenceText",
      +                "detectedAt"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "status": {
      +            "enum": [
      +              "auto_resolved",
      +              "open",
      +              "resolved_by_human"
      +            ],
      +            "type": "string"
      +          },
      +          "topicKey": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "topicKey",
      +          "signals",
      +          "matchedKnownBugs",
      +          "status"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "open": {
      +      "maximum": 9007199254740991,
      +      "minimum": -9007199254740991,
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "open",
      +    "cases"
      +  ],
      +  "type": "object"
      +}
  2. First observedv0.2.0

TDQS

B3.3/5.0
Behavior2/5

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

Annotations already indicate destructiveHint=true and readOnlyHint=false, but the description's 'Return...' reads as a safe read operation and adds no context about side effects, what may be destroyed, or why the tool is marked destructive. This mismatch makes the safety profile confusing and under-disclosed.

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 one short sentence with no filler. It front-loads the core purpose, and every word contributes to understanding what the tool returns.

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

Completeness3/5

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

The schema covers parameters and an output schema exists, so return structure is not the description's burden. However, the description is too thin to fully explain the disruptive destructive hint, the reconciliation context, or when an agent should prefer resolve_case, leaving the overall guidance minimally viable but gapped.

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 repoPath and interactive are already documented in the schema. The description adds no extra parameter meaning beyond the schema and does not address the interactive behavior or its consequences.

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 'Return unresolved ambiguity cases from reconciliation' uses a specific verb and resource, making the tool's main output clear. It is distinguishable from siblings like resolve_case, but it does not explicitly call out that distinction.

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

Usage Guidelines3/5

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

The description only implies when to use the tool: when unresolved ambiguity cases from reconciliation need to be retrieved. It gives no guidance about alternatives such as resolve_case, nor any exclusions, leaving the agent to infer selection criteria from the name and schema.

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