Skip to main content
Glama

Check compatibility

check_compatibility
Read-only

Call this whenever you're about to recommend, link to or buy a part, accessory, charger, filter, cartridge, lens, battery, memory, mount or adapter for something the person already owns, or they ask "will X work with Y" / "is this compatible". Pass both exact models. Covers anything that has to fit, plug in, mount, run on or charge with something someone owns (list_coverage shows the verified catalog). Returns a decision (supported / conditional / incompatible / insufficient_evidence), the rules checked, caveats, required accessories, the questions to ask when it can't decide, evidence links and a signed receipt. When the text matches several models it returns each candidate's answer.

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": {
      "existing": "<existing>",
      "candidate": "<candidate>"
    },
    "name": "check_compatibility"
  }
}

Input Schema

NameRequiredDescriptionDefault
detailNoOptional extra identifiers: machine type, revision, year, region, serial range.
existingYesWhat the person already has, ideally with the exact model number, e.g. 'Lenovo ThinkPad T480', 'Sony A7 IV', 'DeWalt DCD800', 'HP OfficeJet Pro 9015e', 'iPhone 16 Pro', 'HomePod mini'.
candidateYesWhat they want to buy: a model/part number or key specs, e.g. 'Crucial CT16G4SFRA32A', '1TB M.2 2230 NVMe', 'DCB205', 'HP 962XL', 'Canon RF 24-105mm f/4L', 'Eve Energy'.
existing_idNoOptional: an exact product id (from resolve_product, suggestions or a candidates list) instead of existing text.
candidate_idNoOptional: an exact product id instead of candidate text.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -{
      -  "properties": {
      -    "candidates": {
      -      "description": "Present when the text matched several models: each option with its own verdict.",
      -      "type": "object"
      -    },
      -    "caveats": {
      -      "items": {
      -        "type": "string"
      -      },
      -      "type": "array"
      -    },
      -    "check_id": {
      -      "type": "string"
      -    },
      -    "checks": {
      -      "items": {
      -        "properties": {
      -          "detail": {
      -            "type": "string"
      -          },
      -          "ok": {
      -            "type": [
      -              "boolean",
      -              "null"
      -            ]
      -          },
      -          "rule": {
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "conditions": {
      -      "description": "What must be true for a conditional answer (accessory, dependency).",
      -      "items": {
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "confidence": {
      -      "description": "Evidence score from fixed rules (source tier, rule strength). Not a calibrated probability: act on decision, conditions and questions.",
      -      "maximum": 1,
      -      "minimum": 0,
      -      "type": "number"
      -    },
      -    "constraints": {
      -      "items": {
      -        "properties": {
      -          "name": {
      -            "type": "string"
      -          },
      -          "value": {}
      -        },
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "decision": {
      -      "description": "supported | conditional | incompatible | insufficient_evidence. Act on this, not on confidence alone.",
      -      "enum": [
      -        "supported",
      -        "conditional",
      -        "incompatible",
      -        "insufficient_evidence"
      -      ],
      -      "type": "string"
      -    },
      -    "decision_help": {
      -      "type": "string"
      -    },
      -    "evidence": {
      -      "items": {
      -        "properties": {
      -          "text": {
      -            "type": "string"
      -          },
      -          "type": {
      -            "type": "string"
      -          },
      -          "url": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "fit": {
      -      "type": [
      -        "boolean",
      -        "null"
      -      ]
      -    },
      -    "missing": {
      -      "items": {
      -        "type": "string"
      -      },
      -      "type": "array"
      -    },
      -    "next_step": {
      -      "type": "string"
      -    },
      -    "notice": {
      -      "type": "string"
      -    },
      -    "questions": {
      -      "description": "Exactly what to ask, measure or look up next. blocking=true means no decision until answered.",
      -      "items": {
      -        "properties": {
      -          "answer_with": {
      -            "type": "string"
      -          },
      -          "ask": {
      -            "type": "string"
      -          },
      -          "blocking": {
      -            "type": "boolean"
      -          },
      -          "id": {
      -            "type": "string"
      -          },
      -          "options": {
      -            "items": {
      -              "type": "object"
      -            },
      -            "type": "array"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "receipt": {
      -      "description": "Signed receipt (EdDSA JWS) proving Tethered Trust issued this verdict unaltered. Not a guarantee the verdict is correct.",
      -      "properties": {
      -        "id": {
      -          "type": "string"
      -        },
      -        "jws": {
      -          "type": "string"
      -        },
      -        "url": {
      -          "type": "string"
      -        },
      -        "valid_until": {
      -          "type": "string"
      -        }
      -      },
      -      "type": [
      -        "object",
      -        "null"
      -      ]
      -    },
      -    "required_accessories": {
      -      "items": {
      -        "properties": {
      -          "name": {
      -            "type": "string"
      -          },
      -          "why": {
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "requirements": {
      -      "type": "object"
      -    },
      -    "summary": {
      -      "type": "string"
      -    },
      -    "terms": {
      -      "type": "string"
      -    },
      -    "valid_until": {
      -      "description": "When this answer should be re-checked (based on how fresh its sources are).",
      -      "type": "string"
      -    },
      -    "verdict": {
      -      "enum": [
      -        "compatible",
      -        "compatible_with_caveats",
      -        "incompatible",
      -        "uncertain",
      -        "needs_detail"
      -      ],
      -      "type": "string"
      -    },
      -    "verified": {
      -      "description": "True only when every spec came from a manufacturer source with a recorded check date.",
      -      "type": "boolean"
      -    }
      -  },
      -  "required": [
      -    "check_id",
      -    "verdict",
      -    "decision",
      -    "confidence",
      -    "summary"
      -  ],
      -  "type": "object"
      -}New value: +null
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations, which only declare read-only, open-world and non-idempotent. It enumerates the four decision states, the rules checked, caveats, required accessories, follow-up questions on insufficient evidence, evidence links and a signed receipt, plus the per-candidate answer behavior when input text is ambiguous.

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 the call trigger and the core constraint (pass both exact models) before the return-value inventory. The long enumeration of part types and the dense final sentence cost a little, but almost every clause carries routing or behavioral information.

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?

No output schema exists, yet the description fully specifies what comes back (decision, rules, caveats, accessories, questions, evidence, receipt) and how ambiguity is handled. For a read-only, open-world lookup with five fully documented parameters, an agent has everything needed to call it correctly.

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; the description adds real meaning by insisting both values be exact models and by explaining that ambiguous text yields one answer per matched candidate, which signals how to phrase inputs. It does not explain the optional detail or *_id parameters, leaving a small gap.

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 plus a broad scope: anything that must "fit, plug in, mount, run on or charge with something someone owns." The reference to list_coverage for the verified catalog and the multi-candidate return behavior lets an agent separate it from siblings like check_fit or check_batch without opening a schema.

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 trigger conditions (about to recommend, link to or buy an accessory; user asks "will X work with Y") and points to list_coverage when catalog verification is the real need. There is no explicit when-not section, but the positive triggers are specific enough that routing is unambiguous.

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