Skip to main content
Glama
bim2sim-mcp

bim2sim-mcp

by l4b4r4b4b4

admin_get_cache_stats

Inspect cache usage details including namespace counts, active vs expired references, value types, and configuration. Requires admin permissions.

Instructions

Get detailed cache statistics.

⚠️ ADMIN ONLY - Requires elevated permissions.

Returns: Dictionary with cache statistics including: - Total references and counts by namespace - Active vs expired reference counts - Value type breakdown - Cache configuration

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.0

TDQS

A4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden. It discloses the return format (dictionary with statistics) and the permission requirement. However, it does not explicitly state that this is a read-only operation with no side effects. The verb 'Get' implies read-only, but the description doesn't confirm it won't modify cache state or that it is safe to call repeatedly. For an admin tool, that level of disclosure is expected.

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?

The description is concise and well-structured: a one-line purpose, a permission warning, and a bulleted list of return contents. It front-loads the primary action and quickly communicates the key details. No wasted words; every line adds value.

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?

Given that this tool has an output schema (has_output_schema: true), the description doesn't need to fully enumerate return fields. It already lists categories of statistics, which is sufficient context for an agent. It also includes the permission requirement. For a parameterless getter, this is complete. It might miss error conditions, but those are likely in the output schema or not critical for a simple admin stat call.

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?

There are zero parameters, and schema coverage is 100% (empty properties). Per calibration, 0 params gives a baseline of 4. The description adds nothing about parameters because there are none, so the baseline holds. Nothing more is needed.

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 clearly states 'Get detailed cache statistics' – a specific verb and resource. It lists the kinds of statistics returned (namespaces, active/expired counts, value types, config), which distinguishes it from sibling admin tools like admin_list_references or admin_delete_reference that manage individual references. The purpose is unmistakable.

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?

The description implies usage: you'd call this when you need cache statistics. It warns 'ADMIN ONLY - Requires elevated permissions,' which is a constraint but not a when-to-use guide. It does not explicitly mention alternatives or when not to use it. With siblings like admin_list_references, the description could have noted 'use this for aggregate stats, not per-reference details,' but it doesn't.

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