Skip to main content
Glama

IP-API.io

usage_recent

usage_recent
Destructive

Return detailed usage statistics for the last 24 hours.

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_recent"
  }
}

Input Schema

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

Output Schema

NameRequiredDescriptionDefault
itemsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.8/5.0
Behavior1/5

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

The description frames the tool as a read that simply 'returns' statistics, while the annotations declare readOnlyHint=false, destructiveHint=true and idempotentHint=false. An agent trusting the prose would treat this as a harmless reporting call even though the structured metadata says it can mutate state. No behavioral context (auth/permission needs, rate-limit cost, what is affected) is offered to reconcile the two.

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 redundant phrasing; the time window is stated immediately. It is efficient but borders on under-specification, since the brevity is achieved by omitting guidance rather than by compressing it.

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 documented in the schema. What remains missing is sibling differentiation among four usage-related tools and any note reconciling the read-shaped prose with destructive annotations, which is material for a tool an agent may call blindly.

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%: both api_key and api_type are documented in the schema, so the baseline is 3. The description adds no meaning beyond the schema — it says nothing about whether api_type changes the shape or applicability of the returned usage data.

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 description gives a specific verb ('Return'), resource ('detailed usage statistics') and a time scope ('last 24 hours'), so an agent knows exactly what data it yields. It does not, however, distinguish itself from siblings such as usage_current_month, usage_stats or usage_summary, which read as overlapping analytics endpoints.

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: nothing says when this 24-hour view is preferable to usage_current_month or usage_stats, and nothing states prerequisites such as which api_key scope the statistics cover. The 'last 24 hours' phrase implies a use case but never names an alternative or an exclusion.

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