Skip to main content
Glama

workbench_compare_states

Compares recorded and current CAD state records using document_id, entity_count, snapshot_sha256, saved, and dbmod to flag mismatches; it does not replace a live CAD recheck or modify files.

Instructions

Compare recorded document_id/entity_count/snapshot_sha256/saved/dbmod.

Count equality alone cannot establish freshness. A matching raw fingerprint
compares supplied records only; it never substitutes for a live CAD recheck
or independently accepts a drawing. No CAD or file modification occurs.

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": {
      "recorded": "<recorded>",
      "current": "<current>"
    },
    "name": "workbench_compare_states"
  }
}

Input Schema

NameRequiredDescriptionDefault
currentYes
recordedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full disclosure burden. It usefully states 'No CAD or file modification occurs' and warns that matching raw fingerprints do not prove freshness, which is real behavioral context. It omits the return shape (per-field match flags? mismatch list?) and any failure behavior, leaving meaningful gaps.

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 lines, front-loaded with the compared fields, with no filler. The opening fragment and the line-broken mid-sentence are slightly awkward but do not impede comprehension.

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?

For a read-only diff tool with nested free-form objects, no output schema and no annotations, the description covers purpose and interpretation limits but leaves the agent guessing about which direction the diff runs and what the comparison returns. Adequate but not complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% and both parameters are untyped nested objects with additionalProperties, so the schema conveys nothing. The description names the fingerprint fields but never maps them to 'recorded' versus 'current' or explains expected value types/formats (e.g., sha256 hex, dbmod semantics), so the parameter gap is largely unaddressed.

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 concrete verb (Compare) plus the exact resource fields being compared (document_id/entity_count/snapshot_sha256/saved/dbmod). An agent knows this is a fingerprint diff between two records. It does not distinguish itself from any sibling, so it falls short of a 5.

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?

The second paragraph sets a boundary: the comparison covers supplied records only and cannot substitute for a live CAD recheck or accept a drawing, which implicitly routes to live-CAD siblings such as workbench_cad_access. However, it never states positively when to call this tool (e.g., before/after an operation) or names an alternative explicitly, so guidance is implied rather than stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.