Skip to main content
Glama

Show AI usage

colliedesk_ai_usage_get
Read-only

Show one UTC month of the workspace's AI calls per feature and provider: calls, failed and automatic calls, tokens in and out, what the server's provider spent in micro-dollars, and provider_cost: what the provider itself reported, in its own unit (OpenRouter: credits, not dollars), with this month's allowance when the server sets one. No prompt or answer is ever stored.

Needs: billing:read.

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

Input Schema

NameRequiredDescriptionDefault
monthNoYYYY-MM; the current month when left out.

Output Schema

NameRequiredDescriptionDefault
usageYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, but the description adds real behavioral context beyond them: the required 'billing:read' permission, the UTC boundary of the reporting window, the fact that costs are expressed in micro-dollars while provider_cost uses the provider's own unit (OpenRouter credits, not dollars), and the privacy guarantee that no prompt or answer is stored. The unit distinction in particular prevents a serious misreading of the returned numbers. It says nothing about rate limits or freshness/latency of the figures.

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?

Two short paragraphs, scope front-loaded and the permission requirement isolated on its own line where an agent will see it. The first sentence is a long run-on with nested parentheticals, but each clause (units, allowance, privacy) carries information not available elsewhere, so nothing reads as filler.

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

Completeness4/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 explained, and annotations cover the safety profile. What the description must supply — reporting window, metrics covered, cost units, permission requirement, privacy stance — is all present. Only the relationship to the chat-scoped usage sibling remains unaddressed, which is a minor gap for a read-only one-parameter tool.

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?

With a single optional parameter and 100% schema description coverage, the baseline would be 3, but the description adds meaning the schema does not: it specifies UTC, whereas the schema only gives the YYYY-MM pattern and a default. That timezone clarification materially changes how an agent computes the month value.

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?

The description opens with a specific verb and resource — 'Show one UTC month of the workspace's AI calls per feature and provider' — then enumerates the exact metrics returned (calls, failed/automatic calls, tokens in/out, spend, allowance). That is far more precise than the title 'Show AI usage'. It does not name or contrast itself with sibling colliedesk_ai_chat_usage_get, which is the most likely confusion point.

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?

Usage is implied by the scoping language ('one UTC month of the workspace's AI calls per feature and provider') and by the stated 'Needs: billing:read' prerequisite, so an agent can infer this is the workspace-wide billing/usage report. There is no explicit when-to-use/when-not guidance and no routing away from the chat-specific usage sibling, leaving the choice to inference.

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