Skip to main content
Glama
conorluddy

XC-MCP: XCode CLI wrapper

by conorluddy

Disable Disk Persistence

persistence-disable
Idempotent

Disable file-based persistence to switch XC-MCP to in-memory-only caching, optionally deleting existing cache files. Use it to meet privacy requirements, free disk space, or troubleshoot stale cache issues.

Instructions

persistence-disable

🔌 Disable persistent state management and return to in-memory-only caching - Turn off persistence.

Safely deactivates file-based persistence and optionally deletes existing cache data files. After disabling, XC-MCP operates with in-memory caching only, losing all learned state on server restart. Useful for privacy requirements, disk space constraints, or troubleshooting cache-related issues.

Advantages

• Meet privacy requirements that prohibit persistent storage • Free up disk space when storage is limited • Switch to CI/CD mode where persistence isn't beneficial • Troubleshoot issues potentially caused by stale cached data

Parameters

Required

  • (None)

Optional

  • clearData (boolean): Whether to delete existing cache files when disabling. Defaults to false

Returns

  • Tool execution results with persistence deactivation confirmation

  • Confirmation of whether cache files were cleared

  • Previous storage information (if clearData was true)

  • Operational effect description

  • persistence-enable: Turn on persistence

  • persistence-status: View persistence system status

Notes

  • Tool is auto-registered with MCP server

  • Defaults to keeping cache files (just stopping writes)

  • Set clearData: true to delete all cache files

  • Operation is immediate and irreversible

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
clearDataNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv4.1.0
  2. Removedv1.1.0
  3. First observedv1.0.0

TDQS

A3.8/5.0
Behavior1/5

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

Annotations claim destructiveHint=false and idempotentHint=true, but the description states that clearData=true deletes existing cache files and that the operation is immediate and irreversible. Deleting cache files is a destructive behavior, so the description contradicts the destructiveHint annotation. This conflict undermines the safety profile an agent would rely on.

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?

The description is well-structured with front-loaded summary, parameters, returns, related tools, and notes. It is longer than strictly necessary—the Advantages section and some Notes repeat the default behavior—but each section is scannable and adds either context or usage guidance.

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?

For a simple one-parameter tool with no output schema, it covers inputs, return information, related tools, and operational consequences (state loss on restart, irreversibility). It doesn't mention prerequisites or when not to use it, but the included information is sufficient for correct invocation.

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

Parameters5/5

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

Schema coverage is 0%, and the description fully compensates: it documents the sole optional clearData parameter, its boolean type, its meaning ('delete existing cache files when disabling'), and its default of false. The Notes reinforce the default and the effect of setting clearData to true.

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?

The first line uses a specific verb and resource: 'Disable persistent state management and return to in-memory-only caching.' It clearly distinguishes itself from siblings by naming persistence-enable and persistence-status, and by describing what happens after disabling. An agent can tell exactly what this tool does without opening the schema.

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?

It gives concrete use cases (privacy, disk space, CI/CD, troubleshooting stale caches) and lists related tools persistence-enable and persistence-status. It lacks an explicit 'when not to use' or a precondition such as checking persistence-status first, so it doesn't reach 5.

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