Skip to main content
Glama

IP-API.io

usage_summary

usage_summary
Destructive

Return aggregated API usage summary for a date range.

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>",
      "start_date": "<start_date>",
      "end_date": "<end_date>"
    },
    "name": "usage_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
api_keyYesip-api.io API key.
api_typeNoOptional API type: IP or ADVANCED_EMAIL_VALIDATION.
end_dateYesExclusive ISO-8601 end datetime, for example 2026-06-02T00:00:00Z.
start_dateYesInclusive ISO-8601 start datetime, for example 2026-06-01T00:00:00Z.

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?

Annotations already declare the safety profile, but that profile (readOnlyHint=false, destructiveHint=true) sits oddly against a description that only says "Return aggregated ... summary", and the description does nothing to resolve that tension. It adds no behavioral detail beyond the supplied annotations: no aggregation granularity, no mention that api_key authentication is required, no note on how start/end boundaries are applied, and no caveat about the destructive hint.

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 no filler or redundancy. It is efficiently sized, though at the cost of omitting guidance rather than through excessive length.

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 and all four parameters are fully documented, so the return shape and input semantics need no description coverage. However, for a tool in a family of four usage-reporting siblings, the definition is silent on the differentiator and on the surprising destructive annotation, leaving a real gap for selection.

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%, including the inclusive/exclusive semantics and ISO-8601 format for start_date and end_date, and the enum-like values for api_type, so the schema carries the parameter burden. The description's "date range" wording only echoes the schema and adds no extra meaning, which is the baseline 3 case.

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 ("Return aggregated API usage summary") plus scope ("for a date range"), so the agent knows exactly what it gets. It falls short of a 5 because it does not distinguish itself from the closely related siblings usage_current_month, usage_recent, and usage_stats.

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 phrase "for a date range" only weakly implies when this tool applies; there is no explicit guidance on choosing it over usage_current_month, usage_recent, or usage_stats. An agent must infer the distinction from the sibling names alone, which the instructions say should not be relied on.

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