Skip to main content
Glama

Turn off pay as you go

turn_off_pay_as_you_go
DestructiveIdempotent

Turns pay as you go off for the workspace, at once: no new pay-as-you-go work starts. Work already approved is still charged at its price, and live sites and fixed prices are not affected. Turning it on again needs the person's approval (turn_on_pay_as_you_go). Only owners and admins can. Confirm with the person before you call.

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

Input Schema

NameRequiredDescriptionDefault
workspace_idNoWorkspace id from whoami; omit when there is one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, and the description goes further by describing exactly what is and isn't affected: approved work is still charged, live sites and fixed prices are untouched, and re-enabling requires approval. What's missing is any warning about irreversibility or timing of the effect on in-flight requests, so it stops just short of full disclosure.

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 dense and front-loaded, with the effect stated first and caveats after. A couple of sentences are clipped to the point of being elliptical ('Only owners and admins can.'), which slightly blunts readability without wasting words.

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, single-parameter mutation with no output schema, the definition covers permissions, immediate effects, downstream billing consequences, unaffected resources, and the confirmation requirement. Nothing an agent needs to invoke it safely is absent.

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?

Schema coverage is 100% and the single workspace_id parameter is documented in the schema itself (including the 'omit when there is one' default). The description only implies workspace scoping and adds no new meaning about the parameter, which is the expected baseline when the schema does the work.

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 and resource ('Turns pay as you go off for the workspace') plus the immediate scope of the change ('no new pay-as-you-go work starts'). It also names the counterpart tool turn_on_pay_as_you_go so the agent can distinguish the two directions without inspecting schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit conditions are given: only owners and admins may call it, and the agent must confirm with the person before calling. It also names the inverse operation and its approval requirement, so the choice between on/off is unambiguous.

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