Skip to main content
Glama

smsmode MCP by usefulapi

List consumption statistics

smsmode_list_consumptions
Read-only

Sent-message counts and money spent per month or per day (price amount and currency), optionally for one channel. Default: monthly, the last 3 months. GET /commons/v1/consumptions.

Input Schema

NameRequiredDescriptionDefault
flowNoOnly this channel flow.
pageNoPage number, 1-based (default 1). Use next_page from the previous reply.
end_dateNoLast day, yyyy-mm-dd (default today).
page_sizeNoResults per page, 1-100 (default 10).
channel_idNoOnly this channel (from smsmode_list_channels).
start_dateNoFirst day, yyyy-mm-dd (default 3 months ago).
period_typeNoMONTH (default) or DAY.
channel_typeNoSMS (default) or RCS.
sort_by_start_dateNoOrder by start date.

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?

With readOnlyHint=true already declaring a safe read, the description still adds real value: the data returned (counts plus price amount and currency, per month/day), the default time window, and optional channel narrowing. It stops short of covering pagination behavior or auth/rate-limit constraints, so 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.

Conciseness4/5

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

Three compact sentences, front-loaded with the most decision-relevant fact (what data comes back and at what granularity). The default restatement mildly duplicates schema defaults, keeping it just under maximum efficiency.

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?

Nine all-optional parameters at full schema coverage plus a clear statement of the returned metrics and default window means an agent has everything needed to call it; no output schema exists, and the description still summarizes return content adequately.

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 coverage is 100% and enums document period_type, channel_type and flow, so the baseline is 3. The description adds the framing 'optionally for one channel' and restates the default monthly/last-3-months behavior that the schema already encodes per-parameter, so it adds little beyond the structured data.

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?

States a specific verb/resource ('Sent-message counts and money spent per month or per day'), the returned fields (price amount and currency), the granularity, and the underlying endpoint. An agent can distinguish it from the singular smsmode_get_consumption sibling by the plural list semantics.

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 through the stated defaults ('monthly, the last 3 months') and optional channel scoping, which tells an agent this is the aggregate-reporting entry point. However, it never says when to use this vs smsmode_get_consumption or when to reach for a different granularity, so no explicit routing guidance is given.

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.