Skip to main content
Glama

Usage history

nxtl_usage_history
Read-onlyIdempotent

Use this when the signed-in customer asks how much data one of their eSIMs used over some days. Up to 31 days per call, by session or by day. Read only.

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": {
      "line_ref": "<line_ref>",
      "from": "<from>",
      "to": "<to>"
    },
    "name": "nxtl_usage_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesExclusive calendar date in the account timezone, YYYY-MM-DD. Maximum 31 days after from.
fromYesInclusive calendar date in the account timezone, YYYY-MM-DD.
dailyNoWhen true, return one row per day in the account timezone instead of individual sessions.
cursorNoOpaque page cursor. Omit for the first page.
periodNoPreferred for relative ranges, in the account timezone (from and to are then ignored): today, yesterday, last_7_days, last_30_days (any last_N_days up to 31) or this_month. "Last N days" always includes today. Without period, to is EXCLUSIVE, so a range that should include today must end tomorrow.
line_refYesOpaque line reference from nxtl_list_esims.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotent, closed-world and non-destructive, so 'Read only' is pure repetition. The 31-day ceiling and session-vs-daily granularity are real constraints but are restated from the schema, not new behavioral information; nothing is said about return shape, units, or pagination.

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?

Three short sentences with the use case front-loaded and no filler; the constraint and granularity notes follow in order of importance.

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?

Six parameters and no output schema, yet the description never says what the rows contain or in what unit usage is reported. For a reporting tool with no output schema, a brief statement of the returned shape would be needed for full completeness.

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?

With 100% schema description coverage, the schema already carries the exclusive `to` date, the `period` shortcuts, `daily` semantics and the opaque cursor. The description adds no parameter meaning beyond that baseline.

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?

States a specific verb and resource: reporting how much data one of the customer's eSIMs used. The 'used' framing naturally separates it from a limits tool, though no sibling is named.

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?

'Use this when the signed-in customer asks how much data one of their eSIMs used over some days' gives a concrete trigger condition rather than an implied one. It stops short of naming when not to use it or pointing to nxtl_usage_limits for allowance-style questions.

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.