Skip to main content
Glama

locus_clear_cache

Manually invalidates the query result cache, forcing fresh searches and document retrieval when cached answers are stale or files have changed.

Instructions

Manually invalidate the query result cache.

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

Input Schema

NameRequiredDescriptionDefault
store_pathNo.locus

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.1

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full burden and falls short. It doesn't say what invalidating destroys, whether the effect is global or scoped to one store, whether it is reversible, what the cost is (subsequent queries recompute), or whether any permission is required.

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 no filler. It is efficient, though brevity here is close to under-specification rather than deliberate concision.

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

Completeness2/5

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

For a mutating cache operation with no annotations, no output schema, and an undocumented parameter, the description leaves too much unexplained. An agent cannot confidently predict the blast radius of calling it.

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

Parameters2/5

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

Schema description coverage is 0% for the single parameter store_path, and the description never mentions it, so the agent gets no explanation of what the path selects or how the '.locus' default behaves. The description adds no meaning beyond the bare property name.

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: 'invalidate' plus 'query result cache'. This is concrete enough to separate it from the read-only sibling locus_cache_stats, though it never names that sibling or any other alternative.

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

Usage Guidelines2/5

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

The word 'Manually' hints that invalidation otherwise happens automatically, which implies a use case, but no explicit when-to-use, when-not, or prerequisite guidance is given. Nothing tells an agent whether to reach for this or locus_cache_stats first.

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