Skip to main content
Glama

Compare solutions for a need

compare_solutions
Read-onlyIdempotent

Compare 2–3 catalogue IDs by required capabilities, offer, context and dated sources. Unknown/stale/conflict stay explicit; unknown price is never zero. Discover IDs at /api/capabilities and details at /api/solutions/{id}/specification. Costs require all assumptions. Large result: repeat arguments with view; restart on 409. Public read, no billing/business writes; one call per POST.

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": {
      "solution_ids": "<solution_ids>"
    },
    "name": "compare_solutions"
  }
}

Input Schema

NameRequiredDescriptionDefault
viewNo
localeNo
contextNo
criteriaNo
priorityNo
requirementsNo
solution_idsYes
cost_scenarioNo
priority_requiredNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / context / type
      Added value: +"object"
    • addedInput schema / properties / locale / type
      Added value: +"string"
    • addedInput schema / properties / view / type
      Added value: +"object"
  2. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already cover read-only, idempotent, non-destructive and closed-world behavior. The description adds substantial operational semantics beyond that: unknown/stale/conflict states remain explicit, unknown price is never zero, costs require all assumptions, large results are continued via view, 409 means restart, and there are no billing or business writes.

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?

The description is front-loaded with purpose, then moves through data integrity, discovery, cost requirements, continuation and safety. It is dense and mostly free of waste, though the telegraphic sentence fragments may require a second read to parse unambiguously.

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 9-parameter tool with nested objects and an output schema, the description covers the main comparison behavior, data quality rules, continuation and safety. It still leaves meaningful gaps around criteria/priority semantics and the shape of Predicate and Scenario inputs, so it is adequate but not fully complete.

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 description coverage is 0%, so the description must carry parameter meaning. It explains the core inputs: 2–3 solution_ids, context, complete cost assumptions and view for continuation. However, it leaves criteria, priority, priority_required and locale unexplained, and does not clarify the Predicate or Scenario structure, which are the most complex nested inputs.

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?

The description states a specific verb and resource: compare 2–3 catalogue IDs across required capabilities, offer, context and dated sources. The 2–3 bound matches the schema and distinguishes this from singleton tools like get_solution or search_solutions. An agent can infer the comparison scope without opening the schema.

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?

It gives clear usage context: discover IDs at /api/capabilities, fetch details at /api/solutions/{id}/specification, and include complete cost assumptions. It also explains how to handle large results and conflicts. It does not explicitly name sibling tools such as search_solutions or find_comparable_solutions, so the alternative routing is left implicit.

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