Skip to main content
Glama

usage_get

SAGOT charges, reservations and credits for the workspace (PHP centavos, by line and per call in ledger), plus phone carrier costs (phase 44): carrierCosts totals per currency, carrierPendingCalls still waiting for the provider's price, per line carrierCosts and carrierCostTracking (provider = Twilio's actual price, line_rate = your rate on the line, included = in SAGOT's charge, not_tracked), and per call carrierCost. Carrier costs are billed by your carrier, not SAGOT.

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

Input Schema

NameRequiredDescriptionDefault
workspaceIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does add real domain semantics: PHP centavos as the unit, the provider/line_rate/included/not_tracked tracking modes, the existence of pending calls awaiting provider pricing, and the important caveat that carrier costs are billed by the carrier rather than SAGOT. It does not, however, disclose operational traits such as read-only nature, required permissions, or whether the result is scoped to a time range.

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

Conciseness2/5

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

The definition is a single sprawling sentence packed with backticked field names, so the purpose is subordinated to an enumeration of return-value internals. It is dense rather than concise, and nothing is front-loaded beyond the first clause.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Because there is no output schema, the description's explanation of the returned fields (carrierCosts, carrierPendingCalls, carrierCostTracking, carrierCost) is legitimately useful and justifies much of its length. It nevertheless omits usage context, time-scope, and sibling differentiation, and never clarifies the read-only nature of the call.

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 0% and the single workspaceId parameter is undocumented, but the schema's uuid format and regex pattern make its type self-evident, and the phrase 'for the workspace' loosely binds the parameter to the workspace scope. The description does not add syntax or meaning beyond that, so it neither compensates for the coverage gap nor warrants a low score.

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 opening clause names the concrete resource being fetched — SAGOT charges, reservations and credits for a workspace, plus carrier costs — which is specific enough that an agent understands this is a usage/cost retrieval tool. It stops short of distinguishing itself from close siblings like billing_get or platform_usage, leaving namespace overlap unresolved.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no prerequisites, and no mention of the obvious overlapping siblings (billing_get, platform_usage, platform_credits_list). The agent must infer the selection context entirely, which is risky given how many billing-flavoured tools sit next to it.

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