Skip to main content
Glama

Look up a product

resolve_product
Read-onlyIdempotent

Call this to confirm exactly which model the person means before checking or buying ("which Galaxy S25 is this?") or to read a product's structured specs: looks it up by name or model number and returns its specs, what it accepts (mounts, battery platforms, cartridges, protocols) and what it fits. When the text matches several models it returns them all as candidates (ambiguous: true) so you can ask the person which one. For a yes/no fit answer use check_compatibility instead.

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": {
      "query": "<query>"
    },
    "name": "resolve_product"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesProduct name or model number.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -{
      -  "properties": {
      -    "ambiguous": {
      -      "type": "boolean"
      -    },
      -    "candidates": {
      -      "items": {
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "found": {
      -      "type": "boolean"
      -    },
      -    "message": {
      -      "type": "string"
      -    },
      -    "product": {
      -      "type": "object"
      -    },
      -    "read_from_text": {}
      -  },
      -  "required": [
      -    "found"
      -  ],
      -  "type": "object"
      -}New value: +null
  2. First observed

TDQS

A4.4/5.0
Behavior4/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 real behavior beyond that: results include what the product accepts (mounts, battery platforms, cartridges, protocols) and what it fits, and multiple matches are returned as candidates with ambiguous: true rather than a silent best guess. Return cardinality and the ambiguity signal are exactly the kind of thing an agent cannot infer from the schema.

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 action and its purpose, then alternatives, then the ambiguity behavior — a sensible order with no filler sentences. The second sentence is long and stacks several clauses, but each clause carries distinct 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?

There is no output schema, so the description carries the full burden of explaining returns, and it does: specs, accepted accessories/platforms, fit, and the candidate-list behavior with ambiguous: true. For a one-parameter read-only lookup, nothing an agent needs in order to call it or interpret results is missing.

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?

The single parameter has 100% schema description coverage ('Product name or model number'), and the description restates the same name-or-model-number semantics without adding syntax, format, or normalization rules. Baseline 3 applies because the schema already carries the parameter meaning.

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 — 'looks it up by name or model number and returns its specs, what it accepts and what it fits' — which pins down both the operation and the payload. It also names the sibling it is not ('For a yes/no fit answer use check_compatibility instead'), so the agent can separate it from check_fit/check_compatibility without opening any 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 an explicit when: confirming exactly which model the person means before checking or buying, or reading structured specs. It gives an explicit when-not with the named alternative: use check_compatibility for a yes/no fit answer. The multi-match case also tells the agent what to do next ('ask the person which one').

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