Skip to main content
Glama

Representation Compare

representation_compare

Refetch the same HTTP representation profile, compare it with a stored snapshot, and persist the new normalized observation. Writes: each call persists a new snapshot row, so this tool is not read-only and not idempotent.

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": {
      "snapshot_id": "<snapshot_id>"
    },
    "name": "representation_compare"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNooptional replacement URL, otherwise the snapshot URL
snapshot_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, destructiveHint=false, and openWorldHint=true, so the sentence 'this tool is not read-only and not idempotent' largely restates structured data. The one genuine addition is 'each call persists a new snapshot row,' which tells the agent about storage accumulation across calls; it does not cover failure behavior or whether a fetch error still persists anything.

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?

Two tight sentences, front-loaded with the operation and followed by the persistence consequence. The trailing clause about not being read-only or idempotent repeats annotation data and could be cut, but overall there is no padding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained. Given this is an open-world network tool that mutates persisted state, the definition should say more about the url override, what happens if the refetch fails, and whether repeated calls accumulate indefinitely — none of which appear.

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 50%: the url parameter is documented in the schema, but snapshot_id has no schema description. The description implies snapshot_id identifies the stored snapshot being compared against, which partially compensates, but it leaves ambiguous what the url override actually means — whether the replacement URL is fetched and compared to the stored snapshot or replaces the snapshot's target.

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 states a specific three-step operation on a specific resource: refetch an HTTP representation profile, compare against a stored snapshot, persist the new observation. That is clearly distinct from a capture or read tool, though it never names the closest siblings (representation_capture, representation_read) to make the distinction explicit.

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 by the mechanics: the required snapshot_id and 'refetch the same' phrasing signal this tool operates on an existing snapshot rather than creating a first capture. However, there is no explicit statement of when to choose this over representation_capture or representation_read, and no when-not guidance.

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.