Skip to main content
Glama

Credit usage

tday_get_usage
Read-onlyIdempotent

One organisation's credit balance and what it has spent this grant period, by action, by brand and by person, plus a link to its usage page. Pass organizationId from tday_whoami; omitted, the organisation the person owns.

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

Input Schema

NameRequiredDescriptionDefault
organizationIdNoOrganisation ID from tday_whoami

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent and non-destructive semantics, yet the description still adds useful context: the granularity of the breakdown (action, brand, person), the presence of a usage-page link, and the default-scope rule when no org is supplied. It doesn't mention rate limits or the 'grant period' definition, hence not a 5.

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

Conciseness5/5

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

Two compact sentences: the first front-loads what is returned, the second handles the single parameter and its fallback. No filler and nothing repeated from the schema.

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-value structure needn't be explained, and the description still names the breakdown dimensions and link. With one optional parameter, annotations present, and default scope covered, nothing required for a correct call is missing.

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?

Schema coverage is 100%, so the parameter is already documented, but the description adds meaning the schema lacks: where the ID comes from (tday_whoami) and what happens if it is omitted. That default behavior is the key piece an agent needs before calling.

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?

Specifies the resource (one organisation's credit balance and spend by action, brand and person) plus the usage link, which is concrete enough to distinguish it from tday_get_credit_prices and the brand tools. The verb is implicit ('get usage') but the returned content is well enumerated.

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?

Gives clear parameter guidance – pass organizationId from tday_whoami, and omission falls back to the organisation the person owns – but never states when to choose this over tday_get_credit_prices or the brand tools. Usage is implied by the subject matter rather than stated.

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