Skip to main content
Glama

Camera Lens Compatibility Graph

recommend_pareto_lenses

Read-onlyIdempotent

Return 3–5 non-dominated lenses for a body under optical/price constraints.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "recommend_pareto_lenses"
  }
}

Input Schema

NameRequiredDescriptionDefault
body_idNo
zoom_onlyNo
body_queryNo
prime_onlyNo
af_requiredNo
focal_max_mmNo
focal_min_mmNo
allow_adaptersNo
budget_eur_maxNo
prefer_conditionNo
allow_speed_boostersNo
ois_or_ibis_requiredNo
allow_crop_lenses_on_ffNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so safety is covered. The description adds genuinely new behavioral facts: results are capped at 3–5 and are Pareto-optimal rather than ranked or exhaustive. It does not say what happens when no constraints are supplied, how ties are broken, or how the response is shaped.

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?

A single front-loaded sentence with no filler and the key qualifiers up front. It is efficient but so compressed that 'non-dominated' and the constraint mapping are opaque to an unfamiliar agent.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 13-parameter, zero-required-parameter recommendation tool with no output schema, the description is far too thin: it never explains default behavior when parameters are omitted, how constraints interact, or what a returned lens record contains.

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

Parameters2/5

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

Schema coverage is 0% across 13 parameters, so the description carries the full explanatory burden and largely fails: only 'optical/price constraints' gestures at the constraint family, while body_id, body_query, prefer_condition, allow_adapters, allow_speed_boosters, allow_crop_lenses_on_ff and the rest are left entirely undefined.

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 ('Return ... lenses') with cardinality (3–5) and a scope qualifier ('non-dominated', i.e. Pareto-optimal) plus the constraint domains (optical/price). This distinguishes it from siblings like check_lens_compatibility and find_adapters, though the jargon 'non-dominated' is left unexplained.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No indication of when this tool should be chosen over check_lens_compatibility or explain_optical_tradeoff, no prerequisites (e.g. whether body_id is needed), and no exclusions. The agent must infer usage purely from the name and the phrase 'for a body'.

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