Skip to main content
Glama

explain

Read-onlyIdempotent

Why a value is what it is: the evaluation trace behind one node in one period — its formula, each input's value and whether it came from a formula, an input, an actual override or an error. depth follows the trail further.

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": {
      "model": "<model>",
      "node": "<node>",
      "period": "<period>"
    },
    "name": "explain"
  }
}

Input Schema

NameRequiredDescriptionDefault
nodeYes
depthNo
modelYesModel uid (`model_…`), from model_list.
periodYesA period label on the axis, e.g. 2026-07.
scenarioNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare this as a read-only, idempotent, closed-world operation, so safety is covered. The description adds genuinely useful behavioral content: the result is a per-input trace with provenance categories (formula, input, actual override, error) and that `depth` expands the trail. It omits cost/bounds behavior for deeper traces and what happens on unresolvable or error nodes.

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?

A single front-loaded sentence leads with the payoff ("Why a value is what it is") and then enumerates the return payload plus the depth control. Every clause earns its place and nothing is padding.

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 no output schema, the description has to convey return shape, and it does so adequately by listing formula, input values, and provenance tags. Given five parameters at 40% schema coverage, the unexplained `scenario` parameter and the absence of any error/edge-case note keep it slightly short of complete.

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 only 40%, so the description needs to carry weight. It does explain `depth` ("follows the trail further") and implicitly constrains `node`/`period` to a single node in a single period. However, `scenario` is documented nowhere in schema or description, and `depth`'s default behavior within its 1–6 range is left unstated.

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 a concrete resource and scope: the evaluation trace behind one node in one period, broken down into formula, per-input values, and provenance (formula, input, actual override, error). That is far more specific than a restatement of "explain". It does not differentiate itself from the sibling lint_explain, which is the one remaining ambiguity.

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?

Usage is implied rather than stated: the framing "Why a value is what it is" signals a debugging/root-cause use case, and `depth` implies when to go deeper. There is no explicit when-to-use/when-not guidance and no named alternative such as lint_explain or history_get for adjacent questions.

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