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

openai-image-mcp-secure

by leiting684

get_cost_summary

Read-only

Retrieve lifetime image generation costs grouped by exact model and status in USD, so you can review spending and verify budget usage before planning paid API requests.

Instructions

Local lifetime costs grouped by exact model and status, in USD.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

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 and destructiveHint=false, so the safety profile is covered. The description adds useful behavioral context that this is an all-time aggregate scoped to local activity and denominated in USD, but it doesn't clarify what 'local' excludes (e.g. cloud/remote providers) or whether results reflect cached vs recomputed data.

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 repetition. It is efficiently structured, though the heavy compression leaves terms like 'Local' and 'status' undefined.

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?

The tool takes no parameters and has an output schema, so the return shape needn't be explained, and annotations cover safety. Still, the two key qualifiers — what 'local' means and what 'status' categorizes — are never resolved, which leaves an agent guessing about the scope of the aggregation.

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?

With zero parameters there is no per-parameter meaning to add, so the baseline of 4 would normally apply. However, the description implies filtering semantics through words like 'lifetime' and 'local' without stating whether those are fixed or controllable, which adds slight ambiguity rather than clarity.

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 names a specific resource (costs), a scope (lifetime, local), two grouping dimensions (exact model and status), and a unit (USD), so an agent can tell it apart from get_usage or get_budget_status at a glance. It stops short of naming those siblings explicitly, which keeps it from a 5.

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 statement of when to call this versus get_usage, get_budget_status, or estimate_image_cost, and no guidance on preconditions. The only implicit signal is 'lifetime' as opposed to a time-windowed usage call, which the agent has to infer.

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