search_code
Searches all API and function scripts for a specific keyword.
Instructions
在所有接口/函数脚本中全局搜索关键词。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keyword | Yes |
Searches all API and function scripts for a specific keyword.
在所有接口/函数脚本中全局搜索关键词。
| Name | Required | Description | Default |
|---|---|---|---|
| keyword | Yes |
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations provided. The description adds minimal behavioral detail: only that search is 'global' and across 'all interface/function scripts'. Lacks specifics on case sensitivity, regex, or scope limitations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Single sentence, no wasted words. However, it is under-specified for the task; conciseness should not come at the cost of essential information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no output schema, no annotations, and a single parameter with no description, the description is insufficient for an agent to fully understand the tool's behavior and expected results.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%. The description mentions 'keyword' in context but provides no explanation of the parameter's format, constraints, or matching behavior. Fails to compensate for absent schema descriptions.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states a specific verb ('search') and resource ('code in all interface/function scripts'). It distinguishes from sibling tools which are create/delete/list operations, but does not explicitly differentiate.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this tool versus alternatives, no exclusions or prerequisites. The description only states the basic function.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/LynxBay/magic-api-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server