Skip to main content
Glama

reset_mcp_server_cache

Clears all MCP server caches or selected issue and repository caches, then returns statistics so stale Jira and Bitbucket data can be refreshed.

Instructions

Reset MCP server cache - clear all caches and return statistics

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": "reset_mcp_server_cache"
  }
}

Input Schema

NameRequiredDescriptionDefault
clearAllNoClear all caches (default: true)
issueKeyNoOptional: Specific issue key to clear from cache (only if clearIssueCache is true)
workspaceNoOptional: Specific workspace to clear from cache (only if clearRepositoryCache is true)
clearIssueCacheNoClear issue cache (default: true)
clearRepositoryCacheNoClear repository cache (default: true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden; it does disclose the two most important behavioral facts – that caches are destroyed and that statistics are returned. However it omits whether the reset is reversible, whether it degrades performance afterwards, what permissions or scope are required, and that the "clear all" behavior is only the default rather than the only mode.

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?

A single front-loaded sentence with the verb, resource, and outcome in the right order, and no wasted words. It errs toward terseness given five parameters, but nothing is filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has five optional parameters enabling partial cache clearing, yet the description only communicates the all-cache case, leaving the granular path and the semantics of a partial reset unexplained. It does at least mention the return of statistics, and no output schema exists to cover that instead.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents all five parameters including their defaults and the conditional relationship between issueKey/workspace and the granular clear flags. The description adds nothing beyond this and its "clear all caches" phrasing arguably oversimplifies the granular options, so baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Reset MCP server cache") plus what the operation does: clears caches and returns statistics. It implicitly distinguishes itself from the narrower sibling clear_custom_field_cache by scope ("all caches"), but never names that sibling, so the differentiation is inferential rather than explicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Usage is only implied by the verb "reset" – an agent can guess this is for stale-data or troubleshooting scenarios, but no when-to-use or when-not-to-use condition is stated. It also never says to prefer clear_custom_field_cache for field-only invalidation, which is the most likely confusion given the sibling list.

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