Skip to main content
Glama

Search Tools

search_tools
Read-onlyIdempotent

Discover the tools reachable with your current authorization, as TypeScript function declarations (external_) for use inside execute_typescript. Call with no arguments to list everything reachable, or a free-text query to narrow by name/description.

Input Schema

NameRequiredDescriptionDefault
queryNoFree-text filter over tool name/description (case-insensitive substring)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the bar is lower. The description still adds meaningful behavioral context the annotations lack: results are scoped by current authorization and are emitted as external_<name> declarations consumable inside execute_typescript, which tells the agent the practical consequence of calling it.

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 sentences, zero filler, front-loaded with the core purpose and followed immediately by the invocation variants. Nothing could be cut without losing information.

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?

With no output schema, the description compensates by specifying the return shape (external_<name> TypeScript declarations) and the authorization scoping. For a single optional-parameter discovery tool, an agent has everything needed to call it correctly.

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 100% and there is only one optional parameter, so the schema already defines the substring-match semantics. The description's 'free-text query to narrow by name/description' largely restates the schema's wording, adding little beyond the baseline.

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?

States a specific verb and resource ('Discover the tools reachable with your current authorization') and pins down the exact return form (TypeScript function declarations named external_<name>). It also explicitly ties itself to the sibling execute_typescript, so an agent can distinguish the two without opening either schema.

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?

Gives explicit usage branches: no arguments to list everything reachable, or a free-text query to narrow by name/description. It clearly frames this as the discovery step preceding execute_typescript, though it never states a when-not-to-use condition.

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