Skip to main content
Glama

IP-API.io

usage_current_month

usage_current_month
Destructive

Return aggregated API usage summary for the current calendar month.

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": {
      "api_key": "<api_key>"
    },
    "name": "usage_current_month"
  }
}

Input Schema

NameRequiredDescriptionDefault
api_keyYesip-api.io API key.
api_typeNoOptional API type: IP or ADVANCED_EMAIL_VALIDATION.

Output Schema

NameRequiredDescriptionDefault
apiKeyYes
apiTypeYes
periodEndYes
periodStartYes
quotaConsumedYes
totalRequestsYes
batchOperationsYes
successfulRequestsYes
rateLimitedRequestsYes
avgRequestDurationMsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

The description frames the tool as a pure retrieval ("Return ... summary"), yet the annotations declare destructiveHint=true, readOnlyHint=false, and idempotentHint=false, which implies state mutation. That framing is in tension with the supplied annotations. Beyond that tension the description adds nothing: no note on rate-limit/cost implications, no pagination, no explanation of why a usage-summary call would be flagged destructive.

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?

A single front-loaded sentence with zero filler; the scope qualifier (current calendar month) is placed where it matters. The brevity is efficient rather than padded, though it edges toward under-specification for a tool with three same-family siblings.

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?

An output schema exists, so return values need not be explained, and the two parameters are fully schema-documented. What is missing is the differentiation and behavioral framing an agent needs in a crowded usage-tool family, plus any acknowledgement of the destructive annotation.

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 100%, so api_key and api_type are already documented in the schema, establishing a baseline of 3. The description adds no parameter meaning of its own: it never mentions api_type or how filtering by IP versus ADVANCED_EMAIL_VALIDATION changes the aggregation.

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?

"Return aggregated API usage summary for the current calendar month" names a specific verb (return), a specific resource (aggregated API usage summary), and a temporal scope (current calendar month). It is clear in isolation, but it does nothing to distinguish itself from the sibling tools usage_recent, usage_stats, and usage_summary, which an agent would need to choose between.

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?

The description gives no when-to-use guidance and names no alternatives, despite sitting next to three closely related usage tools (usage_recent, usage_stats, usage_summary). An agent must guess which of these returns the current-month aggregate versus a recent window or a broader statistics view.

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