Skip to main content
Glama
StructuraMCP

StructuraMCP

Compare supplier quotes

compare_supplier_quotes
Read-onlyIdempotent

Compare parsed supplier quotes item by item and select the lower-priced offer per line to support procurement decisions.

Instructions

Line up several parsed supplier quotes item-by-item and pick the cheapest offer per line. Free.

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": {
      "quotes": "<quotes>"
    },
    "name": "compare_supplier_quotes"
  }
}

Input Schema

NameRequiredDescriptionDefault
quotesYesTwo or more 'quote' documents from parse_document

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already establish readOnlyHint and idempotentHint, so safety is covered. The description adds the comparison logic (item-by-item matching, cheapest per line) and a cost signal ("Free"), which is real value. It says nothing about tie-breaking, unmatched line items, or unit mismatches, which are the behaviors that actually matter for this 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 short sentences, with the action front-loaded ahead of the price note. Nothing is padded. The trailing "Free." is fragmentary but conveys a distinct signal about cost rather than repeating anything.

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?

A single-parameter, read-only comparison tool with an output schema, so return values need no explanation and the annotations carry the safety profile. The remaining gap is edge-case behavior on non-matching items, which is a minor omission for a tool this simple.

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 100% and the single parameter's own description already says "Two or more 'quote' documents from parse_document," so the prose adds no format or constraint detail beyond it. With high coverage and one documented parameter, the baseline of 3 applies.

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 verb and resource: "Line up several parsed supplier quotes item-by-item and pick the cheapest offer per line." That is enough for an agent to distinguish it from parse_document, which produces the inputs, and from the schema/validation siblings. It stops short of naming an alternative explicitly, so it is clear but not sibling-routing.

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 description names a prerequisite by pointing at parse_document as the source of the quote documents, which implies when this tool is applicable. It gives no when-not guidance and no stated alternative for comparing quotes in other ways, so usage is implied rather than spelled out.

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