Skip to main content
Glama

Change company billing state

manage_company_billing
DestructiveIdempotent

Activate a company, or request human approval for activation, after reviewing get_company_billing. Supply the exact quoted revision and price in the returned billing currency’s minor units (cents or öre); never guess them. AI/API activation additionally needs an administrator-granted automation budget even for workspace admins. Without that authority this creates a pending human approval request and does not activate or purchase capacity. Archive and restore require an authorized person to confirm in the company's web panel; this tool cannot perform them. Never invoke this merely to read, enrich, import or qualify a company. Annual capacity purchases are a separate billing-admin action.

When to use: Explicitly activate a reviewed company within an administrator-approved automation budget, or request human approval. Archive and restore require the company's web panel.

Example: Activate this company using the reviewed price, or request approval if needed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesactivate makes the company a paid active account or creates a pending human approval request. archive and restore cannot be performed by this tool; an authorized person must confirm them in the company's web panel.
account_idYesThe account (company) id to change — the same uuid you passed to get_company_billing for the quote you are acting on.
idempotency_keyYesKeep this same key when retrying the same approved action.
expected_revisionYesThe `revision` from the get_company_billing result you reviewed; if the workspace's account usage changed since, the action is refused and needs a fresh quote.
approved_price_minorYesThe reviewed `activationPriceMinor` from get_company_billing, in the billing currency's minor units (cents or öre); activate is refused when the live price differs.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
stateNo
accountNo
revisionNo
requestIdNo
approvalUrlNo
workingCountNo
approvalRequiredNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / action / description
      Previous value: -"activate (paid active account, or a pending approval), archive (stops paid usage, keeps history) or restore (a deleted company returns as prospect/archived, never active)."New value: +"activate makes the company a paid active account or creates a pending human approval request. archive and restore cannot be performed by this tool; an authorized person must confirm them in the company's web panel."
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare destructive/idempotent/not-readOnly; the description adds the real behavioral story: activation degrades to a pending human approval request when no administrator-granted automation budget exists, revision or price drift causes refusal, and archive/restore are impossible here. This is exactly the kind of context annotations cannot carry.

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?

Front-loaded with the core action and constraint, then a clean when-to-use block. It loses a point for the trailing example sentence ('Activate this company using the reviewed price, or request approval if needed'), which restates the body and earns nothing.

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, gated mutation with an output schema present, the description covers the decision path (budget vs. approval), the failure modes (stale revision, price mismatch), and the operations it refuses to perform. Nothing needed to invoke it correctly is missing.

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 100%, so the baseline is 3, but the description goes further by binding the parameters to an upstream call: the revision and price must be the exact quoted values from get_company_billing, in the billing currency's minor units, and must never be guessed. That workflow-level coupling is not obvious from the schema alone.

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 ('Activate a company ... request human approval for activation') and immediately distinguishes itself from the read-only sibling by requiring a prior get_company_billing review. It also carves out what it is not: archive/restore and annual capacity purchases.

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 when-to-use section plus negative guidance ('Never invoke this merely to read, enrich, import or qualify a company') and named alternatives (web panel for archive/restore, separate billing-admin action for capacity). The preconditions — reviewed quote, automation budget — are spelled out.

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