Skip to main content
Glama
APIBridge MCP Server
by chandru20

get_product

Retrieve a product by ID from a connected API, optionally passing query parameters and loading from or saving the response to context for later workflow steps.

Instructions

Get a product by ID

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": "get_product"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoThe ID of the resource to modify
fromContextNoLoad data from context using this key
queryParamsNoQuery parameters to include in the request
saveToContextNoSave the response to context with this key

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses almost nothing. It does not mention that the tool is read-only, that lookups can alternatively be sourced from context (fromContext) rather than an ID, that responses can be stored via saveToContext, or how missing IDs are reported. For a tool with a dependency-injection-style parameter set, that silence is a real gap.

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 zero filler, which is the right shape. It is arguably over-terse rather than padded, so it does not lose points for verbosity but gains nothing extra.

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?

With four parameters (one a nested free-form object), no annotations, and no output schema, the definition should explain context-key behavior and error semantics, and it explains neither. An agent can call it, but not confidently or correctly in the context-passing modes.

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 100%, so the baseline is 3, and the description's "by ID" does tie the resource to the id parameter. However, it adds nothing about fromContext/saveToContext semantics, and it does not correct the schema's misleading id text ("the ID of the resource to modify"), which invites a wrong mental model for a read tool.

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 ("Get a product") with the lookup key, which distinguishes it from create_product/update_product/delete_product and from the parallel get_user/get_post tools. It is clear what the tool returns conceptually, though it says nothing about what a "product" contains or how it differs from list_products results.

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 guidance on when to use this versus list_products or get_metrics, no prerequisites, and no mention of what happens when the ID does not exist. The agent must infer everything about selection from the name alone.

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