Skip to main content
Glama

Things to try before reporting a repair

repair_troubleshooting
Read-onlyIdempotent

For a repair somebody describes, either reviewed things to try first — each step a fixed instruction written for a person with no tools, with a caution where it matters (quote title, body and caution as given; never add steps, never improvise advice, never say anything is safe) — or emergency: true with emergency_guidance, when the words match a gas smell, carbon monoxide, sparks or burning, flooding, sewage, or water near anything electrical. On an emergency there is nothing to try: say so, repeat the guidance, and report it now with report_issue (urgency emergency). steps empty with emergency: false means nothing useful can be tried — report it. Nothing is stored. When the steps do not fix it, call report_issue and put what was tried in the description so nobody asks them to do it again. A model chose which steps fit; it did not write them.

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": {
      "description": "<description>"
    },
    "name": "repair_troubleshooting"
  }
}

Input Schema

NameRequiredDescriptionDefault
locationNoWhere in the home, e.g. "Kitchen".
descriptionYesWhat is wrong, in the resident's words.

Output Schema

NameRequiredDescriptionDefault
noteNoFixed sentence: the steps are a reviewed list and the AI only chooses among them.
stepsNo
sourceNo"model" or "rules" — which chose the steps (the list itself is the same).
statusNo"open" (steps to try), "ready" (nothing to try) or "emergency" (send it now — nothing to try).
urgencyNo
categoryNo
sentenceNoThe sentence to show the resident, word for word.
emergencyNoTrue when the description reads as a possible emergency; steps is then empty.
truncatedNo
total_availableNoHow many rows existed before truncation.
emergency_guidanceNoPresent when emergency is true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and the description confirms 'Nothing is stored', so safety is consistent. Beyond that it does add real behavioral context: steps are fixed text authored elsewhere and must be quoted verbatim, never extended or improvised, never framed as 'safe', and a model only selected them. It does not describe response shape, but an output schema exists to cover that.

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?

All content is relevant, and the emergency path and report_issue handoff are reasonably front-loaded. However single oversized sentence is built from stacked em-dash clauses and parentheticals, making it slow to parse for an agent scanning for the branching rule.

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 the output schema exists, the description still explains what `steps` and `emergency_guidance` mean and covers every decision branch: emergency, empty steps, success, and failure. An agent knows how to call it, how to use the result, and what to do next in each case.

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 baseline is 3. The description adds a little beyond the schema by stressing the input is what the person describes ('the words match...'), implying verbatim resident phrasing, and the emergency match is driven by that text. It says nothing about `location`, so the added meaning is modest.

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 names the concrete resource (reviewed things to try for a described repair) and gives its two possible outcomes, fixed steps or `emergency: true` with `emergency_guidance`. It also implicitly distinguishes itself from sibling report_issue by being the pre-report step. The opening clause is tangled ('For a repair somebody describes, either reviewed things to try first'), which keeps it from 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 Guidelines5/5

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

Explicit routing is given: use this before reporting, report immediately with report_issue (urgency emergency) when the words match gas, CO, sparks, burning, flooding, sewage, or water near electrical. It also defines the empty-steps case (report it) and the follow-up case (steps did not fix it → report_issue with what was tried in the description). No inference required.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources