Skip to main content
Glama

Explain a QSO problem

explain_qso
Read-onlyIdempotent

Read the supplied logs and return one QSO before and after, the exact changes, field errors and duplicate pairs. QSO ids use log:record, starting at 1. No model makes repair decisions in the engine.

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": {
      "logs": "<logs>",
      "record": "<record>"
    },
    "name": "explain_qso"
  }
}

Input Schema

NameRequiredDescriptionDefault
logsYes
rulesNo
recordYes
rule_idNo
pro_codeNoPrivate Log Mender Pro code. Authorization: Bearer also works. Never put it inside saved rules.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds a genuinely useful behavioral claim (the engine, not a model, makes decisions) and states the return contents in the absence of an output schema, but says nothing about ordering, limits, or error behavior.

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?

Three short sentences, front-loaded with what is returned and the id convention. Every sentence carries information; the closing line is slightly cryptic but non-redundant.

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?

For a five-parameter tool with a nested rules object and no output schema, the description covers the return shape and the key id convention well. Gaps remain around the rules/rule_id parameters and authorization, but the core call path is documented.

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?

With 20% schema coverage, the description compensates for the most important param by defining the record id format ('log:record, starting at 1'). However, rules, rule_id and pro_code receive no explanation here or in the schema, leaving the nested rules object largely opaque.

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 uses a concrete verb-and-resource pair ('Read the supplied logs and return one QSO before and after') and enumerates the outputs: exact changes, field errors and duplicate pairs. It implies a diagnostic rather than mutating role via 'No model makes repair decisions in the engine', though it never names check_log or repair_log to draw the line explicitly.

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?

There is no explicit 'use this when...' or exclusion against the sibling tools; the agent must infer from the explain-oriented phrasing and the 'no repair decisions' line that this is the diagnostic path. Adequate but leaves sibling selection to inference.

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.