Skip to main content
Glama

All AI LLC API: documents and calculators

Query product metadata

catalog_query
Read-onlyIdempotent

Searches owned product metadata by query, brand and kind. PAID: 5 credits ($0.005) per successful call from one-time prepaid credits; send Authorization: Bearer <api_key>. Failed or empty calls are free.

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

Input Schema

NameRequiredDescriptionDefault
qNo
kindNo
brandNo
limitNo
api_keyNoOptional. Only for clients that cannot send an Authorization header.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

The annotations already declare this as a read-only, idempotent, closed-world, non-destructive operation, so the baseline is lower. The description adds genuinely non-schema behavior: a per-call price, that failures and empty results are free, and the exact `Authorization: Bearer <api_key>` requirement. What is missing is any hint of result shape or pagination for a search tool with a 50-item cap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two tight sentences, with the functional purpose front-loaded and the commercial/auth constraints second. Every clause carries information an agent needs before calling; nothing is redundant padding.

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?

With no output schema, 5 parameters, and low schema coverage, the description carries real burden. It handles cost and authentication well, but an agent still cannot tell what a result contains, how large result sets are paged, or how the filters combine, which matters for a search endpoint.

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 only 20%, so the description must compensate, and it partially does by naming the three filter parameters (q, brand, kind) and indicating the search is scoped to metadata the caller owns. It says nothing about `limit` (max 50) or the `api_key` fallback parameter, so the compensation is incomplete.

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?

The description gives a specific verb and resource: "Searches owned product metadata," and names the three facets it filters on (query, brand, kind). It is clear what the tool does, though it never distinguishes itself from the sibling `search_catalog`, leaving the agent to guess which search surface applies.

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?

There is no when-to-use or when-not-to-use guidance, and no alternative tool is named. The only usage-adjacent information is the prepaid-credit cost model; an agent gets no help deciding between this and `search_catalog`.

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.