Skip to main content
Glama

discover_tools

Search for candidate tools by natural-language query in Chinese or English. Apply filters for profile, mode, and risk ceiling; high-risk tools are hidden by default.

Instructions

v0.7.1: Search candidate tools by natural-language query (Chinese or English). Returns compressed summaries with risk level and schema digest. Filters by profile/mode/riskCeiling. High-risk tools (command/release/credential_sensitive) are hidden by default unless includeHighRisk=true. Read-only — never invokes tools.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoFilter tools by mode. Default: no filter.
queryYesNatural-language search query. Supports Chinese intent terms (验收/改文件/发布/状态/差异/卡住/旧任务/搜索/工具/诊断 etc.) and English keywords.
profileNoFilter tools by profile. Default: no filter (all profiles).
maxResultsNoMaximum number of results. Default 8.
riskCeilingNoMaximum risk level to include. Tools above this level are hidden. Overrides includeHighRisk.
includeHighRiskNoWhen true, include high-risk tools (command/release/credential_sensitive) in results. Default false.
Behavior4/5

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

Describes read-only nature, default hiding of high-risk tools, and return format; no annotations so description carries full burden.

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 efficient sentences front-loading purpose, version, and key behaviors without waste.

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?

Covers return format, filtering, safety; no output schema but description suffices for a search tool with 6 well-described params.

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?

Adds context beyond schema by linking filters to behavior (e.g., includeHighRisk overrides riskCeiling), despite 100% schema coverage.

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?

Clearly states it discovers tools via natural-language query, distinguishes from siblings like explain_tool and invoke_discovered_tool.

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?

Implies usage for discovery before invocation, mentions read-only nature and high-risk filtering, but lacks explicit alternatives.

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/jiezeng2004-design/PatchWarden'

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