Skip to main content
Glama

Sigmora

Set Sigma’s spend cap

sigma_approval_policy_set
Idempotent

Set Sigma's spend cap (owner only); Sigma always runs what you ask. Free.

REST: PUT /v1/sigma/approval-policy.

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": {
      "mode": "<mode>"
    },
    "name": "sigma_approval_policy_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeYes`run_requested`; legacy modes are mapped onto it.
workspaceNoWorkspace slug. Omit to use the workspace your credential is bound to. An API key names its own workspace, and a value that disagrees with it is refused rather than ignored.
maxCreditsNoLegacy: the `auto_under` limit, stored as the spend cap.
spendCapCreditsNoThe spend cap per action, in credits; omit for no cap.
initiativeCreditsNoRetired: accepted and ignored. Sigma adds what makes the result better as part of the work.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already mark this as a non-destructive, idempotent, closed-world write, so the burden is lighter. The description usefully adds an authorization requirement (owner only), a cost statement ("Free"), and the transport endpoint. It says nothing about what existing policy state is overwritten on a set, or what the "Sigma always runs what you ask" claim means when a caller selects `always_ask` -- a real ambiguity for a policy tool.

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?

Extremely short and front-loaded: the action and the permission constraint come first, then cost, then endpoint. "Free." as a standalone fragment is efficient; the REST line is the only sentence whose value for an agent caller is doubtful.

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

Completeness3/5

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

With a full output schema and rich annotations, the description does not need to cover return values or safety. But for a 5-parameter policy tool with four modes, three of which are legacy or retired, the description should say whether a set replaces the whole policy or only the spend cap; that gap is the main completeness shortfall.

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 schema itself already explains legacy mode mapping, the retired `initiativeCredits`, and the `maxCredits`/`spendCapCredits` relationship, so the baseline is 3. The description adds only "Sigma always runs what you ask," which hints at the canonical `run_requested` mode but never explains how `mode`, `spendCapCredits`, and `maxCredits` interact -- the exact point where a caller is most likely to err.

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?

"Set Sigma's spend cap" gives a specific verb and resource, and the REST line plus the owner-only qualifier pin down what the tool mutates. The caveat is that the resource is actually an approval policy (the required `mode` parameter has always_ask/ask values), so the description narrows the tool to one of its two effects.

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?

"(owner only)" is a real prerequisite that tells the agent whether it can call this at all, and the read sibling sigma_approval_policy_get is implicitly the counterpart. But there is no explicit when-to-call/when-not guidance and no routing language toward any alternative.

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