Skip to main content
Glama

model_diff

Read-onlyIdempotent

The semantic difference between two versions of a model, as the ops that turn the first into the second. Versions are hashes, from model_list or history_get.

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>",
      "from": "<from>",
      "to": "<to>"
    },
    "name": "model_diff"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYes
fromYes
modelYesModel uid (`model_…`), from model_list.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), so the description adds value by disclosing the shape of the result: a set of ops rather than raw objects, with directional semantics from→to. That matters because there is no output schema. It stops short of describing pagination, size limits, or behavior on missing versions.

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?

Two sentences, both front-loaded: the first defines the operation and its output form, the second resolves parameter provenance. Nothing is redundant with the title or annotations.

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 three-parameter read-only tool with no output schema, the description covers purpose, input provenance, and result shape adequately. Minor gaps remain around error cases (unknown version, identical versions) and result size, but nothing needed to invoke it successfully is missing.

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 only 33% — only `model` is documented — but the description compensates by explaining that from and to are version hashes sourced from model_list or history_get, and the phrase 'turn the first into the second' fixes their direction. The only remaining gap is the exact hash format/shape.

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?

States a specific operation: the semantic difference between two model versions, returned as the ops that transform one into the other. That is precise enough to separate it from list/get siblings like model_list, model_show or model_structure. It doesn't explicitly name an alternative diff-style tool, so it stops short of 5.

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

Usage Guidelines4/5

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

Gives concrete usage context by naming where the required version hashes come from (model_list or history_get), which is the main prerequisite for calling it. It does not state when to avoid this tool or what to do if versions are identical/unknown, so no exclusions are 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