clear_cache
Clears the schema metadata cache to force fresh database data retrieval.
Instructions
Clear the schema metadata cache to force fresh data from the database
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Clears the schema metadata cache to force fresh database data retrieval.
Clear the schema metadata cache to force fresh data from the database
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description must carry the full burden of behavioral disclosure. It clearly states the primary effect (clears cache, forces fresh data) but does not mention potential side effects such as temporary performance degradation or the scope of the invalidation (e.g., entire schema vs. specific tables). This is acceptable for a simple operation but lacks rich context.
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?
The description is a single sentence that immediately states the action and its purpose. It is concise, front-loaded, and contains no filler or redundant 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?
The tool is simple, has no parameters, and no output schema. The description explains the action and its intended consequence. It lacks only minor details such as whether the cache clear is global or session-specific, but for the simplicity of the tool, it is sufficiently complete.
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?
The tool has zero parameters, so the description need not explain any. Per the rubric, 0 parameters baseline is 4, and the description adds a clear purpose for this no-arg tool, so this score is appropriate.
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 uses a specific verb ('Clear') and resource ('schema metadata cache') and explains the intended effect ('to force fresh data from the database'). It clearly distinguishes this tool from all sibling tools, none of which target cache clearing.
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?
The phrase 'to force fresh data from the database' implies the scenario for use, but it does not explicitly state when to use this tool versus alternatives or provide any exclusions. The guidance is implied rather than explicit, so it falls short of a 4.
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/az-coder-123/sql-server-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server