Skip to main content
Glama

discover_tools

Read-onlyIdempotent

Find and rank available tools by keyword or bundle, or look up an exact tool name to recover its details. Browse the full authorized catalog, then page through results until complete.

Instructions

Discover the current permitted tool catalog or a named bundle. Use q to rank tool capabilities locally, or an exact tool name for recovery; this searches tool metadata, not project sources. Clear q to browse every authorized tool. Page with next_offset until complete. Returned descriptions and input schemas retain their warnings. Discovered tools become available on the next model round; discovery does not authorize execution or override actor, suite, source, approval or spending checks.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "discover_tools"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNo
limitNo
bundleNo
offsetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.23

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so the safety profile is covered; the description goes further with a timing trait ('Discovered tools become available on the next model round'), a trust trait ('returned descriptions and input schemas retain their warnings'), and an authorization boundary. Those are behaviors an agent could not infer from the annotations and would otherwise get wrong.

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?

It is dense and front-loaded: purpose first, then the q semantics, then paging, then the availability and authorization caveats. Every sentence carries distinct information, though the final clause stacks several caveats ('actor, suite, source, approval or spending checks') into one long sentence that slightly blurs scanability.

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 still tells the agent what comes back (tool descriptions and input schemas, warnings intact), how to exhaust the result set via next_offset, and why discovered tools are not yet callable. For a four-parameter, zero-required discovery tool that is the full set of facts needed to invoke it correctly.

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 coverage is 0%, so the description carries the burden and it does substantially: q is explained in three distinct modes (ranking, exact-name recovery, clearing to browse) and next_offset is framed as the paging control. The bundle enum values are self-describing and limit's 1-20 bounds are visible in the schema, but neither 'limit' nor 'bundle' nor 'offset' is named or given meaning in prose, leaving a small gap given the total absence of schema descriptions.

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 opening sentence names a specific verb and resource ('Discover the current permitted tool catalog or a named bundle') and immediately delimits scope: 'this searches tool metadata, not project sources.' That contrast lets an agent separate it from sibling search-style tools such as find_text or list_kentucky_tools without inspecting 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 Guidelines5/5

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

It specifies concrete usage modes: rank capabilities with q, resolve a single tool by exact name 'for recovery,' clear q to browse everything authorized, and page with next_offset 'until complete.' It also states the exclusion that discovery 'does not authorize execution or override actor, suite, source, approval or spending checks,' which is exactly the kind of when-not guidance an agent needs.

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

Deploy Server

Other Tools