Skip to main content
Glama

Oh My Product docs

Search the documents

search_docs
Read-onlyIdempotent

Lexical keyword search over the public Oh My Product documents; returns the best matches with a short snippet, best first. No language model is called. Read-only.

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_docs"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoPage size: the maximum number of results on this page (1 to 25, default 10).
queryYesSearch terms.

Output Schema

NameRequiredDescriptionDefault
resultsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, closed-world behavior, so the bar is lower; the description still adds real value by disclosing that matching is lexical (no semantic expansion), that results are ranked best-first, and that hits come with a short snippet. It does not cover result volume beyond limit or any cost/latency characteristics.

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?

Three short sentences, front-loaded with what it does, followed by result shape and the non-obvious lexical caveat; no filler or repetition.

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

Completeness4/5

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

With an output schema present and full parameter coverage, the description covers the essentials: corpus scope, matching mechanism, result ordering and snippet format. The remaining gap is query-syntax semantics and how multiple terms combine, which an agent may need.

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 coverage is 100%, so both query and limit are already documented in the schema, including range and default. The description adds nothing about query syntax (phrase quoting, multiple terms, matching rules) that would help an agent craft better queries, so the baseline 3 applies.

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 ('Lexical keyword search over the public Oh My Product documents') and clarifies the mechanism ('No language model is called'), which separates it from a semantic search tool. It does not explicitly name list_docs or get_doc, so the contrast with siblings is only implicit.

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

Usage Guidelines3/5

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

The description implies you use this when you want keyword matching rather than enumeration or single-document retrieval, but it never states when to prefer it over list_docs or get_doc, nor any exclusions or prerequisites. Usage is inferable rather than prescribed.

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