Skip to main content
Glama

Search the catalogue

search

Products of Library Direct whose title, description, brand, category or attributes contain the words of the query (all words, any order, case-insensitive).

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

Input Schema

NameRequiredDescriptionDefault
pageNo
sortNoorder of the results
queryYes
page_sizeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

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 disclosure burden. It usefully states the matching rule and catalogue scope, but says nothing about default ordering, pagination behavior, result caps, or whether an empty result is returned for non-matching queries. For a search tool with zero annotation coverage, that leaves material behavior undisclosed.

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 most decision-relevant detail (match semantics) comes first. It is a sentence fragment without an explicit verb, which slightly reduces immediate readability but costs no space.

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 and no annotations, the description needs to do more work than it does: pagination defaults, sort default and return shape are all unaddressed. The matching rule is well covered, so it is adequate rather than deficient for a four-parameter search tool.

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 25% — just the sort enum is documented. The description compensates well for the required query parameter by spelling out matching semantics, but page, page_size and the default sort order are unexplained in both schema and description.

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 precisely defines the result set: products whose title, description, brand, category or attributes match the query words. It specifies match semantics (all words, any order, case-insensitive), which is more useful than a generic 'searches the catalogue'. It stops short of contrasting itself with siblings like filter or browse.

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 explicit when-to-use guidance and no mention of when not to use it. With siblings such as filter, browse and categories present, an agent gets no signal about when keyword search is the right entry point versus faceted filtering or browsing.

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