Skip to main content
Glama

A workspace's plan and usage

get_workspace_usage
Read-only

Check a workspace's plan and monthly agent task usage before planning large batches. Prevents 402 refusals when the allowance is reached.

Instructions

The company workspace's plan (free, team or pro) and this month's usage against it: members, and how many tasks agents have marked done out of the plan's monthly allowance. Check it before planning a large batch of agent work; at the allowance, agents' completions are refused with 402 until a person completes the task or an admin upgrades under Members, Billing. Tasks people complete never count.

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": {
      "workspaceId": "<workspaceId>"
    },
    "name": "get_workspace_usage"
  }
}

Input Schema

NameRequiredDescriptionDefault
workspaceIdYesCompany workspace id from list_workspaces

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.8

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only supply readOnlyHint=true, so the description carries real weight and does so: it discloses the 402 refusal behavior at the allowance, the two remediation paths (human completion or admin upgrade under Members, Billing), and the important counting rule that human-completed tasks never count against quota. These are non-obvious behaviors an agent could not infer from the schema or annotations.

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?

Three sentence-like units, front-loaded with what is returned and followed by the actionable trigger and the quota consequence; nothing is redundant. It is dense and semicolon-heavy, which slightly hurts scanability, but every clause carries information.

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 one-parameter read-only tool with no output schema, the description covers what is returned (plan tier, members, completions vs allowance), when to call it, and what happens at the limit. Nothing an agent needs in order to call it correctly or interpret the result 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 description coverage is 100% and the single parameter's meaning (workspace id from list_workspaces) is fully documented there. The description implies a company workspace is required but adds no format or sourcing detail beyond the schema, so the baseline of 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?

The description names a specific resource (the company workspace's plan and this month's usage) and enumerates what is returned: plan tier, member count, and agent task completions against the monthly allowance. This is clearly distinguishable from siblings like whoami or list_workspaces, which do not describe quotas or billing state.

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 gives an explicit when-to-use trigger: 'Check it before planning a large batch of agent work,' plus the consequence of hitting the limit (402 refusals until a person completes the task or an admin upgrades). It stops short of naming an alternative tool or stating when-not-to-call, so it falls just below the top mark.

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