Skip to main content
Glama

Get Wiro Spend Limits and Model Access rules

get_controls
Read-onlyIdempotent

Reads your workspace's spending limits and model access rules, showing usage, remaining budget, reset times and who can change them.

Instructions

Show the Controls of the connected project's workspace (personal, or a team). Spend Limits cap what it spends in a month or a day, in USD: on the whole wallet, one team member, one API key, one way in (surface) or one agent. Each limit comes with what it used this period, what is held by work still running, what is left and when it resets (UTC). Model Access rules allow or block models, by category or one by one, and each comes in plain words. Each limit and rule says who changed it last, and when, where Wiro gives it. The answer also says whether this connection can change them (the account owner, a team admin or the organization's owner can; other team members only read) and which surface, API key and, in a team, member this connection's own runs count as. With usage it lists this month's or today's spending by surface, team member, API key and agent; with members, the team's members and their user ids. Free and read-only. Read the controls playbook before changing a limit or a rule.

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

Input Schema

NameRequiredDescriptionDefault
usageNoAlso list this month's or today's spending (UTC) by surface, team member, API key and agent.
membersNoIn a team, also list the team's members with their user ids, to set a limit or a rule per member.

Output Schema

NameRequiredDescriptionDefault
usageNo
callerNoHow this connection's own runs count: their surface, the project of the API key and, in a team, the member.
membersNo
surfacesYesThe ways in a limit or a rule can name.
dashboardYes
workspaceYes
categoriesYesThe model categories a rule can name.
usageErrorNo
spendLimitsNo
membersErrorNo
modelAccessErrorNo
modelAccessRulesNo
spendLimitsErrorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv2.0.0
    • changedOutput schema / properties / caller / properties / surface / enum
      Previous value: -[
      -  "web",
      -  "api",
      -  "mcp",
      -  "llm-gateway",
      -  "extension",
      -  "agent"
      -]New value: +[
      +  "web",
      +  "api",
      +  "mcp",
      +  "llm-gateway",
      +  "extension",
      +  "agent",
      +  "studio",
      +  "workflow-agent",
      +  "workflow"
      +]
    • changedOutput schema / properties / surfaces / items / properties / surface / enum
      Previous value: -[
      -  "web",
      -  "api",
      -  "mcp",
      -  "llm-gateway",
      -  "extension",
      -  "agent"
      -]New value: +[
      +  "web",
      +  "api",
      +  "mcp",
      +  "llm-gateway",
      +  "extension",
      +  "agent",
      +  "studio",
      +  "workflow-agent",
      +  "workflow"
      +]
    • changedOutput schema / properties / usage / properties / surfaces / items / properties / surface / enum
      Previous value: -[
      -  "web",
      -  "api",
      -  "mcp",
      -  "llm-gateway",
      -  "extension",
      -  "agent"
      -]New value: +[
      +  "web",
      +  "api",
      +  "mcp",
      +  "llm-gateway",
      +  "extension",
      +  "agent",
      +  "studio",
      +  "workflow-agent",
      +  "workflow"
      +]
  2. Changed2 schema fields changedv1.9.1
    • addedOutput schema / properties / modelAccessRules / items / properties / updatedBy
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Who changed it last. Absent when Wiro did not say, or when a change Wiro made itself was the last.",
      +  "properties": {
      +    "name": {
      +      "description": "Their name or e-mail, or \"the organization owner\"; absent for someone who is no longer in the team.",
      +      "type": "string"
      +    },
      +    "useruuid": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "useruuid"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / spendLimits / items / properties / updatedBy
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Who changed it last. Absent when Wiro did not say, or when a change Wiro made itself was the last.",
      +  "properties": {
      +    "name": {
      +      "description": "Their name or e-mail, or \"the organization owner\"; absent for someone who is no longer in the team.",
      +      "type": "string"
      +    },
      +    "useruuid": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "useruuid"
      +  ],
      +  "type": "object"
      +}
  3. Addedv1.9.0

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations (readOnly/idempotent/non-destructive), it discloses a permission model the schema cannot: only the account owner, team admin or org owner can change things, other team members read only, and the response reports whether this connection can change them. It also says the answer reveals which surface, API key and team member this connection's own runs count as, which is meaningful behavioral context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The scoping statement is correctly front-loaded, but the body is one dense run-on of comma-spliced clauses and some phrasing is vague ('where Wiro gives it'). Most content is useful, yet it could be tightened into shorter sentences without losing meaning.

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?

An output schema exists, so return values need not be spelled out, yet the description still tells the agent what categories of data come back (current usage, held amounts, remaining, reset time in UTC, human-readable rules, auditors, per-surface/agent spend). Permission scope and cost model are also covered, so nothing needed to call it correctly is missing.

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 both parameter descriptions already explain the month/day and members toggles, so the baseline applies. The description restates the same effects ('with usage it lists this month's or today's spending...; with members, the team's members and their user ids') with only a marginal addition ('to set a limit or a rule per member').

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?

Opens with a specific verb and resource ('Show the Controls of the connected project's workspace') and immediately defines the two things Controls contain: Spend Limits and Model Access rules. It clearly marks itself as the read-side aggregate, implicitly separating it from the manage_spend_limit / manage_model_access siblings.

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?

It states the operating context ('Free and read-only') and routes the agent elsewhere before mutation ('Read the controls playbook before changing a limit or a rule'). What it lacks is an explicit statement of which sibling to use to change limits or rules, or any when-not condition.

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