Skip to main content
Glama

Show actions usage

actions_usage
Read-onlyIdempotent

Read this month's actions for your account, or a team you belong to (team): the plan, the actions used and the limit (null: no limit), when the allowance resets (resetsAt, the 1st of the next month, UTC), mode (measure: nothing is paused; enforce: agents' changes are paused at the limit), and the actions per workspace, each with its agents (each a principal by handle, the busiest first, with its count) and unattributed (actions no agent is recorded for: before per-agent counting began, or a platform admin's removal). A workspace in the trash still lists its count; workspaces purged for good read as one entry with null id, slug and name. An action is one agent operation that changed a workspace and shows in its history: a bulk change counts once per workspace it changes; reads, failed attempts, a person's own changes in the browser and work outside a workspace are free. A workspace's actions count toward its owner, whoever's agent made them. A platform admin reads any team, or another account with account (an account id or alias; anyone else: FORBIDDEN).

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

Input Schema

NameRequiredDescriptionDefault
whyNoOptional, accepted and not recorded by this operation. If you send one, one sentence on the goal this change serves. At most 300 characters.
teamNoA team's actions, by slug or id (members only; a platform admin reads any team's).
accountNoAnother account's actions, by account id or alias (platform admins only; anyone else is refused FORBIDDEN). Not with team.

Output Schema

NameRequiredDescriptionDefault
modeYes
planYes
usedYesActions this month: the sum of workspaces[].actions.
limitYesThis month's allowance, in actions; null: no limit.
payerYes
resetsAtYes
workspacesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / why / description
      Previous value: -"Optional, accepted and not recorded by this operation. If you send one, one sentence on what the person is trying to accomplish. At most 300 characters."New value: +"Optional, accepted and not recorded by this operation. If you send one, one sentence on the goal this change serves. At most 300 characters."
  2. Changed1 schema field changed
    • addedOutput schema / properties / workspaces / items / properties / agents / items / properties / agent / properties / tokenrip
      Added value: +{
      +  "const": true,
      +  "description": "Present only when true: this is Tokenrip itself, doing a task definition's routine. It is a member of no workspace and never you.",
      +  "type": "boolean"
      +}
  3. Changed1 schema field changed
    • addedInput schema / properties / why
      Added value: +{
      +  "description": "Optional, accepted and not recorded by this operation. If you send one, one sentence on what the person is trying to accomplish. At most 300 characters.",
      +  "type": "string"
      +}
  4. Changed2 schema fields changed
    • addedOutput schema / properties / limit / description
      Added value: +"This month's allowance, in actions; null: no limit."
    • addedOutput schema / properties / used / description
      Added value: +"Actions this month: the sum of workspaces[].actions."
  5. Changed3 schema fields changed
    • addedOutput schema / properties / workspaces / items / properties / agents
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "actions": {
      +        "exclusiveMinimum": 0,
      +        "maximum": 9007199254740991,
      +        "type": "integer"
      +      },
      +      "agent": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "account": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "alias": {
      +                "anyOf": [
      +                  {
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "former": {
      +                "const": true,
      +                "type": "boolean"
      +              },
      +              "id": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "id",
      +              "alias"
      +            ],
      +            "type": "object"
      +          },
      +          "agent": {
      +            "anyOf": [
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "harness": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "id": {
      +                    "anyOf": [
      +                      {
      +                        "format": "uuid",
      +                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "name": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  }
      +                },
      +                "required": [
      +                  "id",
      +                  "name",
      +                  "harness"
      +                ],
      +                "type": "object"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "isCaller": {
      +            "type": "boolean"
      +          },
      +          "mine": {
      +            "type": "boolean"
      +          }
      +        },
      +        "required": [
      +          "account",
      +          "agent",
      +          "mine",
      +          "isCaller"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "agent",
      +      "actions"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / workspaces / items / properties / unattributed
      Added value: +{
      +  "maximum": 9007199254740991,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • changedOutput schema / properties / workspaces / items / required
      Previous value: -[
      -  "id",
      -  "slug",
      -  "name",
      -  "actions"
      -]New value: +[
      +  "id",
      +  "slug",
      +  "name",
      +  "actions",
      +  "agents",
      +  "unattributed"
      +]
  6. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, yet the description adds real behavioral context: what counts as an action (bulk changes count per workspace; reads, failures, browser edits, and non-workspace work are free), how trashed and purged workspaces are reported, and the measure vs enforce mode distinction. The permission model and FORBIDDEN outcome are also disclosed.

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 content is dense and front-loaded, but it is delivered as one long paragraph riddled with nested parentheses, which makes it harder to scan than it needs to be. The definitional material about actions is useful, yet the packaging costs readability.

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?

Given an output schema exists, the description need not explain return values, yet it covers the interpretive edge cases an agent would otherwise get wrong (purged workspaces, unattributed counts, owner attribution). 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%, so the schema already documents all three parameters including the admin-only and mutual-exclusion rules for team and account. The description largely restates those constraints rather than adding new syntax or format detail, so the baseline 3 applies.

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: read this month's actions usage for the caller's account or a named team. It then enumerates exactly what is returned (plan, actions used, limit, resetsAt, mode, per-workspace counts), which cleanly separates it from siblings like storage_usage.

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?

Clear context for use: default to your own account, pass team for a team you belong to, pass account only as a platform admin, and team/account are mutually exclusive with FORBIDDEN otherwise. It does not name an alternative sibling tool or state when not to use this one, so it stops short of a 5.

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.