Skip to main content
Glama

deepinfra

Get GPU rental usage

deepinfra_get_usage_rent
Read-only

Get GPU rental (dedicated hardware) usage for a time range. DeepInfra REST: GET /payment/usage/rent.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoRange end as a unix timestamp in seconds; defaults to now.
fromYesRange start as a unix timestamp in seconds (required).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds the REST endpoint mapping (GET /payment/usage/rent), which is mild context, but says nothing about what the usage data contains, aggregation, or pagination.

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?

Two short sentences with the purpose front-loaded and no filler. The REST endpoint reference is slightly redundant metadata but does not bloat the definition.

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 read tool with covered annotations and a fully documented schema, this is adequate. Without an output schema, however, it omits any indication of what the returned usage data represents, which would help an agent interpret 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 description coverage is 100%, so both 'from' and 'to' are fully documented with unix-timestamp semantics and the default-to-now behavior. The description adds no parameter detail, so the baseline of 3 applies.

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 ('Get GPU rental (dedicated hardware) usage'), and the parenthetical clarifies the resource beyond the ambiguous name. It is distinguishable from siblings like deepinfra_get_usage_tokens, though it never explicitly contrasts with the plain deepinfra_get_usage.

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 guidance on when to choose this tool over deepinfra_get_usage or deepinfra_get_usage_tokens, nor any prerequisites. Only the implied 'for a time range' hints at context, leaving the agent to infer selection from the name.

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.