Skip to main content
Glama

get_api_usage

Retrieve API usage statistics for a date range up to 30 days. Provide start and end dates in ISO 8601 format to get the data.

Instructions

Retrieve Linked API usage statistics. Date range must not exceed 30 days.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endYesEnd date for the statistics period in ISO 8601 format (e.g., '2024-01-30T00:00:00Z')
startYesStart date for the statistics period in ISO 8601 format (e.g., '2024-01-01T00:00:00Z')
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It implies a read-only operation via 'Retrieve' and adds a clear parameter bound ('Date range must not exceed 30 days'), which is useful. However, it does not describe the shape of the returned statistics, whether any aggregation or filtering is applied, or other behavioral traits.

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?

The description is two sentences, immediately states the action and resource, and introduces the key constraint. There is no filler or redundant content; every sentence earns its place.

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?

For a simple two-parameter retrieval tool with no output schema, the description covers the core purpose and a critical limitation. However, it omits what the 'usage statistics' actually contain (e.g., counts, breakdowns) and any additional context such as authentication or rate limits, leaving the agent partially in the dark about expected results.

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%, as both parameters (start and end) have explicit descriptions including format examples. The description's phrase 'Date range' reiterates what the schema already conveys, adding no new semantic information about the parameters themselves.

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 uses a specific verb 'Retrieve' and names a clear resource 'Linked API usage statistics'. It effectively communicates the tool's primary function, though it doesn't explicitly distinguish itself from sibling tools like admin_get_limits_usage, which might also return usage-related data.

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 provides no guidance on when to use this tool versus alternatives such as admin_get_limits_usage or retrieve_performance. The only added instruction is a 30-day date-range limit, which is a constraint rather than context about appropriate use cases or exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zecloud/remote-mcp-linkedin'

If you have feedback or need assistance with the MCP directory API, please join our Discord server