Skip to main content
Glama

WritersLogic business agents

qualifier-compare

Requested vs quoted specification attributes: met, not met or not comparable — Compares up to 200 requested attribute requirements with the values a supplier quoted (voltage, grade, finish, tolerance, brand, certification), for an agent checking that a quote matches the request before buying. Requirements are eq, ne, gte, lte, gt, lt, between (value..max), in (a list) or present; numeric comparisons use exact decimals, an optional tolerance, and the caller's unit conversions

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": {
      "items": "<items>"
    },
    "name": "qualifier-compare"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYes
conversionsNoCaller-supplied unit conversions; none are built in.
caseSensitiveNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/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 whole burden and does disclose meaningful behavior: the 200-item cap, the tri-state outcome including 'not comparable', exact-decimal arithmetic with an optional tolerance, and that unit conversions are caller-supplied rather than built in. It does not state side effects (pure computation vs. persistence), how the verdict is reported, or what happens on malformed input, leaving real gaps for an annotation-free tool.

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 sentences, front-loaded with the result categories before the mechanics, and nearly every clause carries real information (limits, operator list, numeric precision, unit handling). The first sentence is densely packed with em-dashes and parenthetical examples, which costs some readability but does not waste space.

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?

For a moderately complex nested tool with no annotations and no output schema, the description supplies what the structured fields cannot: the possible outcomes, the comparison semantics, precision and tolerance handling, the item cap, and the absence of built-in conversions. Only the `caseSensitive` flag remains unexplained, which is a minor residual gap.

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 description coverage is only 33%, so the description must compensate, and it largely does: it enumerates the full operator set (eq, ne, gte, lte, gt, lt, between value..max, in, present) and explains that numeric comparisons use exact decimals, an optional tolerance, and the caller's unit conversions. The notable omission is `caseSensitive`, which appears in neither the description nor the schema.

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 ('Compares'), both resources being compared (requested attribute requirements vs. the values a supplier quoted), a concrete scale limit of 200 items, and an explicit consumer ('an agent checking that a quote matches the request before buying'). It also front-loads the three possible verdicts (met, not met, not comparable), so the tool's output contract is legible before the schema is opened.

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?

The phrase 'for an agent checking that a quote matches the request before buying' gives a clear usage context and makes it obvious this is a pre-purchase validation step, not a general attribute lookup. It offers no explicit exclusions or named alternatives, so an agent must infer that non-comparison tasks belong elsewhere.

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