Skip to main content
Glama

Search Any Topic

gt_search
Read-onlyIdempotent

Search authoritative documentation and standards for web APIs, CSS, security, accessibility, protocols, and infrastructure topics to ground answers in live references and reduce hallucinations.

Instructions

Official docs and standards for a topic with no single library: web APIs, CSS, security, accessibility, protocols, infrastructure. One library named: gt_best_practices or gt_get_docs. Browser support: gt_compat. Real-world code: gt_examples.

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

Input Schema

NameRequiredDescriptionDefault
queryYesTopic, e.g. 'WCAG 2.2 focus indicators'
tokensNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv8.1.1
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedInput schema / properties / query / description
      Previous value: -"What you want to know. Can be anything: 'latest React best practices', 'WCAG 2.2 focus indicators', 'OWASP SQL injection prevention', 'CSS container queries browser support', 'JWT security', 'HTTP/3 vs HTTP/2', 'Web Workers API'. No library name required."New value: +"Topic, e.g. 'WCAG 2.2 focus indicators'"
    • removedInput schema / properties / tokens / description
      Removed value: -"Max tokens to return (default: 8000, max: 20000)"
  2. First observedv5.2.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds only content scope (official docs/standards across web platform topics), not behavior — no indication of what is returned (excerpts, citations, URLs), how open-world search behaves, or any limits. With annotation coverage the lower bar is met, but little beyond it.

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?

Very short and front-loaded: purpose first, then sibling routing in compact clauses. The telegraphic fragment style ('One library named: ...') is parseable and wastes no words, though the missing verbs slightly reduce readability.

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?

For a 2-parameter search tool with no output schema, the definition covers routing well but leaves two gaps an agent must guess at: what the result looks like (doc excerpts vs. links) and how to set the token budget. Adequate minimum, not complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 50%: only 'query' is documented (with an example), while 'tokens' — a budget/response-size control with a 1000–20000 range and 8000 default — is undocumented in both schema and description. The description's topic examples (web APIs, CSS, security) weakly aid query framing but say nothing about budget trade-offs, so it does not compensate for the coverage gap.

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 identifies the resource precisely: authoritative docs and standards for topic-level questions that lack a single owning library, with example domains (web APIs, CSS, security, accessibility, protocols, infrastructure). The verb 'search/fetch' is implied by the name rather than stated, but the scope is clear enough to distinguish it from every sibling.

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?

Explicit routing is given for the main cases: no single library → this tool, one library named → gt_best_practices or gt_get_docs, browser support → gt_compat, real-world code → gt_examples. An agent can pick the correct tool without opening other schemas.

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