Skip to main content
Glama
bim2sim-mcp

bim2sim-mcp

by l4b4r4b4b4

admin_clear_namespace

Clear all references in a namespace, including child namespaces, to reset data in BIM simulation workflows. Requires admin permissions; action is irreversible.

Instructions

Clear all references in a namespace.

⚠️ ADMIN ONLY - Requires elevated permissions. ⚠️ DESTRUCTIVE - This action cannot be undone.

Args: namespace: The namespace to clear (e.g., 'user:alice'). include_children: Also clear child namespaces (default: True).

Returns: Confirmation with count of deleted references.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "namespace": "<namespace>"
    },
    "name": "admin_clear_namespace"
  }
}

Input Schema

NameRequiredDescriptionDefault
namespaceYes
include_childrenNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it warns of destructive action, irreversibility, and elevated permissions. It also mentions the return value (confirmation with count). It doesn't cover potential side effects like locking or partial failures, but covers the most critical aspects.

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 concise and well-structured with clear warnings, argument list, and return statement. The use of emojis and formatting draws attention to important caveats without unnecessary fluff. It's appropriately sized for a destructive admin tool.

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

Completeness5/5

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

For a destructive admin operation with 2 parameters and an output schema (indicated), the description is nearly complete. It covers permissions, irreversibility, parameters, and return value. The only minor gap is not explicitly defining what constitutes a 'child namespace', but the example and default make it understandable.

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?

Schema coverage is 0%, so the description compensates by explaining both parameters: 'namespace' with an example and 'include_children' with its default value. It clarifies the meaning of child namespaces implicitly. This adds value beyond the raw schema, though it could be more explicit about the exact format or edge cases.

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 the verb 'Clear' and the resource 'references in a namespace', making the purpose unambiguous. It distinguishes itself from sibling tools like admin_delete_reference (single reference) by specifying 'all references' and the namespace scope.

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 provides important context with the 'ADMIN ONLY' and 'DESTRUCTIVE' warnings, implying it's for special administrative operations. However, it does not explicitly state when to use this tool versus alternatives like admin_delete_reference or admin_list_references, leaving some inference to the agent.

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