Skip to main content
Glama

Search Any Topic

gt_search
Read-onlyIdempotent

Search for current best practices, documentation, and guidance on any topic including web development, security, and infrastructure, without needing a library name.

Instructions

Search for latest best practices, docs, or guidance on ANY topic — no library name needed.

Current year: 2026. All searches are normalized to fetch 2026 content.

Works for:

  • Library best practices: "latest React patterns", "Next.js server actions"

  • Web standards: "CSS container queries", "WebSocket API", "Fetch API"

  • Security: "OWASP SQL injection prevention", "JWT security best practices", "CSP headers"

  • Accessibility: "WCAG 2.2 focus indicators", "ARIA roles reference"

  • Performance: "Core Web Vitals optimization", "LCP improvements"

  • APIs & protocols: "REST API design", "HTTP/3 vs HTTP/2", "OpenAPI 3.1"

  • Auth standards: "OAuth 2.1 PKCE", "WebAuthn passkeys", "OIDC"

  • Infrastructure: "Docker best practices", "GitHub Actions CI/CD"

  • Anything else: just ask

Say "use gt" or "gt search [topic]" to invoke.

Examples:

  • gt_search({ query: "latest best practices" }) — auto-detects from project context

  • gt_search({ query: "WCAG 2.2 keyboard navigation" })

  • gt_search({ query: "SQL injection prevention 2026" })

  • gt_search({ query: "CSS container queries browser support" })

  • gt_search({ query: "React Server Components patterns" })

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesWhat 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.
tokensNoMax tokens to return (default: 8000, max: 20000)
Behavior5/5

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

Annotations already provide readOnlyHint=true, destructiveHint=false, idempotentHint=true, openWorldHint=true. The description adds value by stating that searches are normalized to fetch 2026 content and that the current year is 2026, which is not in annotations. It also mentions auto-detection from project context. No contradictions with annotations.

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?

The description is well-structured with a clear opening sentence, a bullet-point list of use cases, and examples. It is somewhat lengthy but every sentence adds value. It is front-loaded with the core statement. Could be slightly more concise, but overall effective.

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

Completeness5/5

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

Given that the tool has no output schema, the description covers all necessary aspects: purpose, usage, parameters, and behavioral notes (e.g., year normalization). It provides ample examples for a general search tool. The annotations further enrich the context. The description is complete for the tool's complexity.

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

Parameters4/5

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

Schema description coverage is 100% (both query and tokens are described). The description adds significant examples and usage context for the query parameter, and mentions the default token count (8000) which is not in the schema description. Since baseline is 3 due to high coverage, the added value raises it to 4.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool is for searching any topic, with a specific verb ('Search'), resource ('any topic'), and behavior (returns latest best practices/docs/guidance). The many examples and explicit mention that no library name is needed distinguish it from sibling tools like gt_audit or gt_best_practices, which are more specialized.

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

Usage Guidelines4/5

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

The description provides extensive examples of when to use the tool across many domains (libraries, standards, security, etc.) and explicitly says 'any topic' and 'just ask'. It does not explicitly state when not to use it or compare to siblings, but the context makes it clear that this is a general-purpose search tool, while siblings are more specific (e.g., gt_best_practices for best practices). This is clear but lacks explicit exclusions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rm-rf-prod/GroundTruth-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server