Skip to main content
Glama

Explain what changed

explain_changes
Read-onlyIdempotent

What changed on one policy over the last days, lined up with what its devices did, to find the cause of a problem that started at some point ("why did the kiosks start failing on Tuesday?", "what changed before these tablets stopped installing the app?"). Returns: each policy save in the period (when, who, and what it changed, field by field) and each new Nomid Library version of the policy's apps; the devices with failed app installs per day (package, installer error code, Android version) and the devices checking in per day; and per change a verdict computed from those counts: LIKELY_CAUSE, POSSIBLE, RULED_OUT or TOO_RECENT, with its evidence. A verdict is a match in time and data, not proof: say so. Name the likely cause in plain words, with who and when; the user sees a timeline of this result under your answer, so do not list every day. To fix it, propose the undo of that one save with rollback_policy and onlyThisRevision (never apply it yourself), or another proposal the evidence supports. It changes nothing.

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": {
      "policyId": "<policyId>"
    },
    "name": "explain_changes"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoHow many days back to look, today included (UTC). Default 7; make it reach the day the problem started.
companyNoOptional: a `company` value from list_companies to run this in. Omit it for the connection's own company.
policyIdYesThe policy's path name - the unique identifier returned by list_policies as "pathName".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description reinforces 'It changes nothing' while adding substantial context beyond them: the exact return contents (saves, library versions, failed installs, check-ins, per-change verdicts) and the important caveat that a verdict is a time/data match, not proof.

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 purpose and efficient despite being a single dense paragraph; every clause carries information. It could be broken into clearer segments (returns vs. verdict vs. remediation), but there is little waste.

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?

With no output schema, the description carries the full burden of explaining return values, and it does so thoroughly (timeline contents, verdict categories, evidence). It also sets expectations about how the result is presented to the user, making it complete for a read-only diagnostic tool.

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 the baseline is 3, but the description adds real meaning: days should be set to reach the day the problem started, and policyId is the pathName from list_policies. It stops short of explaining the company parameter's fallback behavior, which the schema already covers.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('what changed on one policy over the last days') and adds the diagnostic intent ('lined up with what its devices did, to find the cause'). It is clearly distinguishable from rollback_policy (fix) and diagnose, and the example questions anchor the scope.

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?

Gives concrete triggering scenarios ('why did the kiosks start failing on Tuesday?'), tells the agent to set days to reach the problem start, and explicitly routes remediation to rollback_policy with onlyThisRevision while warning 'never apply it yourself'. When-to-use and when-not are both covered.

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