Skip to main content
Glama
rcarmo

office-document-mcp-server

by rcarmo

azure_clear_cache

Destructive

Clear cached Azure pricing data for specific services or regions to ensure up-to-date cost information. Supports disk and memory cache clearing.

Instructions

Clear Azure pricing cache.

Args: service: Clear cache for specific service only (None = all) region: Clear cache for specific region only (None = all) clear_disk: Clear disk cache (default: True) clear_memory: Clear memory cache (default: True)

Returns: Dictionary with cleared cache information

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
serviceNoClear cache for specific service only (None = all)
regionNoClear cache for specific region only (None = all)
clear_diskNoClear disk cache (default: True)
clear_memoryNoClear memory cache (default: True)
Behavior3/5

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

Annotations already indicate destructiveHint: true. The description adds that it returns a dictionary with cleared cache information but does not elaborate on side effects or required permissions. This is adequate given the annotations, but lacks extra context.

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 short and front-loaded with the main purpose, followed by a clear parameter list. No extraneous information. Efficient.

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 cache-clearing tool with no required parameters and no output schema, the description covers the functionality and parameter effects sufficiently. It does not discuss use cases or potential impacts, but for this tool it is complete enough.

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?

The input schema has 100% coverage, providing descriptions for all four parameters. The description essentially replicates these parameter descriptions, adding no new meaning beyond defaults. Thus, it meets the baseline of 3.

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 description directly states 'Clear Azure pricing cache', which is a specific verb-resource pairing. It clearly distinguishes from sibling tools like azure_fetch_prices or azure_calculate_cost, which are for data retrieval/computation.

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?

No explicit guidance on when to use this tool versus alternatives. The description lists parameters but does not indicate scenarios such as clearing cache to force updated pricing or avoiding unnecessary cache clearing.

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/rcarmo/python-office-mcp-server'

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