Skip to main content
Glama

bettbox_close_connections

Destructive

Closes a live Bettbox connection by ID, or all active connections when 'all' is passed, to terminate unwanted traffic or free resources.

Instructions

Close one live connection, or every connection when id is all.

Args: params (CloseConnectionInput): connection_id from bettbox_list_connections, or the literal all.

Returns: str: Confirmation.

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": {
      "params": "<params>"
    },
    "name": "bettbox_close_connections"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and idempotentHint=false, so the safety profile is known. The description adds the important behavioral fact that passing "all" closes every live connection and that the result is a confirmation string, but says nothing about irreversibility, side effects on other tool state, or permission requirements for the bulk case.

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?

Short, front-loaded, and the scope special case is in the first sentence. The Args/Returns scaffolding repeats a little of what the schema and output schema already state, but nothing is padded.

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 single-parameter mutation tool with annotations covering destructiveness and an output schema covering the return value, the definition supplies the two things structure cannot: the "all" sentinel and the id provenance. Only post-close state or failure handling is missing, which is minor here.

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 reported as 0%, so the description carries the burden, and it does meaningful work: it names the sentinel value "all" (a magic string absent from the schema) and points to the source tool for valid ids. It stops short of describing id format or failure behavior for an unknown id.

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 ("Close one live connection") and immediately qualifies the scope with the special case where id is "all". The action is unambiguous and no sibling in the catalog performs a close operation, so confusion risk is low even without an explicit contrast.

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?

It tells the agent where the connection id comes from ("``connection_id`` from ``bettbox_list_connections``"), which is real workflow guidance for a prerequisite-list-then-act pattern. It gives no guidance on when to close a single vs. all connections, nor any caution about the destructive bulk path.

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