Skip to main content
Glama

Veqen: AI cost monitoring and protection

Shut a provider key off

shut_off_key
Destructive

Turns a provider key (an id from list_provider_keys) off at its provider, or back on (action restore). Needs shut-off access for that provider. Where the provider can only delete keys, it fails until confirmed is true: say so to the user, since that can't be undone. With two-person shut-off on, the result is 'waiting' for a second owner, admin or security member (confirm_shut_off). Confirm with the user first.

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": {
      "key_id": "<key_id>"
    },
    "name": "shut_off_key"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionNodisable
key_idYes
confirmedNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations declare destructive/openWorld but the description supplies the operational detail they can't: the confirmed=true gate for delete-only providers, the irreversibility warning, the 'waiting' outcome under two-person shut-off, and the required reviewer roles. This is exactly the extra context an agent needs before a destructive call.

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?

Each sentence carries distinct information (access, delete-only confirmation, two-person flow), front-loaded on what the tool does. The trailing 'Confirm with the user first' is a global instruction placed after a case-specific one, a minor ordering weakness in an otherwise dense, waste-free description.

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, open-world mutation with an output schema, the description covers permissions, irreversibility, the confirmation gate, and the human-approval workflow. Nothing an agent needs to call it safely is missing, and return values are correctly left to the output schema.

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?

With 0% schema description coverage the description must carry the parameters, and it does: key_id is sourced from list_provider_keys, action is explained via 'restore', and confirmed's gating semantics are spelled out. The default (disable) is only implied rather than stated, keeping it just below a 5.

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?

States a specific verb+resource ('Turns a provider key ... off at its provider') and covers the inverse operation ('or back on (action restore)'). It also names the sibling that supplies the id (list_provider_keys), so the agent can distinguish it from delete/disconnect-style siblings without opening schemas.

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?

Gives clear prerequisites (shut-off access per provider), a routing instruction for the two-person case (confirm_shut_off), and an explicit 'Confirm with the user first' rule. It falls short of a full 5 because it never states when not to use this tool (e.g., vs. deletion or waiting_shut_offs) beyond the implicit failure path.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources