Skip to main content
Glama

Refresh Swagger Specs

refresh_specs

Force reload all module specs and swagger-resources to get fresh documentation, isolating partial failures for reliability.

Instructions

Force a reload of swagger-resources and all module specs while keeping partial failures isolated. Use this when upstream docs changed or when a previous lookup returned stale results.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
refreshedAtYes
resourcesUrlYes
loadedModulesYes
failedModulesYes
totalOperationsYes
modulesYes
errorsYes
Behavior3/5

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

No annotations provided, so description carries full burden. Discloses that partial failures are isolated, which adds transparency, but does not specify if the operation is safe to call repeatedly or if it requires special permissions. For a mutation (reload) tool, more detail would help.

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, each providing distinct value: first states the action and a key behavior (failure isolation), second provides usage guidance. No redundant or unnecessary words.

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?

Output schema exists, so return values are covered. Description explains when to use and a behavioral detail. Could mention prerequisites or side effects, but for a zero-param tool with a simple purpose, it's reasonably complete.

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?

Tool has 0 parameters, and schema coverage is 100%. Description doesn't need to add parameter info. Baseline 4 is appropriate.

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?

Description clearly states the tool forces a reload of swagger-resources and all module specs, distinguishing it from sibling tools that focus on finding, listing, or getting details of APIs.

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?

Explicitly tells when to use: when upstream docs changed or stale results. Does not mention when not to use, but context from sibling tools makes it clear that this is for reloading, not for regular browsing.

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/chaselen/knife4j-mcp'

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