Skip to main content
Glama
openai-image-mcp-secure

openai-image-mcp-secure

by leiting684

get_usage

Read-only

Check recent image request statuses, numeric usage, reservations, and delivery, optionally filtered by request UUID.

Instructions

Read recent request statuses, numeric usage, reservations and delivery, optionally by UUID.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_usage"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
request_idNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare this a safe read-only operation with destructiveHint=false, so the description need not repeat that. The description adds value by naming the data categories returned (statuses, usage, reservations, delivery). However, it does not clarify what 'recent' means, how results are ordered, or how the limit parameter affects 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?

The definition is a single front-loaded sentence with no filler. It is dense but efficient, though the phrase 'reservations and delivery' is somewhat opaque and could be sharpened.

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 the description need not explain return values. For a two-parameter read tool, the main gaps are the undefined time window for 'recent' and the unexplained limit/pagination behavior. The description is adequate but leaves meaningful operational questions unanswered.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry parameter meaning. It hints that a UUID can optionally filter results, which likely maps to request_id, but it never explains the limit parameter, its default of 20, or the expected UUID format. Half the parameters remain undocumented in both schema and description.

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 clear verb (Read) and enumerates the resources returned: request statuses, numeric usage, reservations and delivery. It does not distinguish this tool from siblings such as get_cost_summary or get_budget_status, and 'delivery' is vague. Still, an agent can identify the general purpose without opening the schema.

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 only usage hint is that a UUID can be supplied optionally, which is a parameter behavior rather than guidance on when to call this tool. There is no explanation of when to use get_usage versus get_cost_summary or get_budget_status, and no exclusions. The agent must infer usage from the name and sibling list.

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