Skip to main content
Glama
mordor-forge

gemini-media-mcp

by mordor-forge

Get usage and spend

get_usage
Read-onlyIdempotent

Track estimated Gemini media costs by session, day, month, or all time, broken down by model and tool, with budget remaining, recent calls, and running video jobs.

Instructions

Report estimated spend for this session, today, this month or all time, broken down by model and tool, with budget remaining, recent calls and running video jobs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
periodNosession (since this server started), today (default), month or all
recentNoHow many recent entries to include (default 10, max 100)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteYes
extraNo
budgetYes
periodYes
summaryYes
activeJobsNo
ledgerPathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so the safety profile is covered. The description goes further by disclosing what the report contains, including non-obvious content like budget remaining and running video jobs, and the word 'estimated' signals that the figures are approximations rather than billed amounts.

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 dense sentence that front-loads the purpose and then lists the report contents without filler. It is appropriately sized, though the trailing list of returned items is somewhat enumeration-heavy for a tool whose output schema already exists.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, the return shape need not be spelled out, and the description still names the period options and the scope implied by 'this session'. What is missing is any note on data coverage or freshness limits (for example whether it reflects only this server's usage), which would matter for a spend-reporting tool.

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 parameters are already fully documented, including the default and max for 'recent'. The description merely restates the period values that the schema enumerates, adding no new syntax, defaults, or interpretation guidance.

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 ('Report estimated spend') and enumerates the dimensions of the report (by model and tool, budget remaining, recent calls, running video jobs). It is clearly distinct from most siblings, but it never draws the boundary against the closest sibling, estimate_cost, which an agent could easily confuse with it.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies the tool's use for inspecting accumulated spend and activity, and the period parameter hints at granularity choices, but there is no explicit when-to-use guidance nor any statement of when another tool (estimate_cost for projections, get_config for settings) should be preferred.

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