Skip to main content
Glama

Universal Data — x402 + MPP Payment Setup

api_film_production_budget

Read-onlyIdempotent

Allocate a film production budget across user-entered line items and contingency percent, showing over/under budget. One call costs 0.01 USDC on Base x402; customer-owned provider credentials use X-Provider-Key header where needed.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "budget": "<budget>",
      "items": "<items>"
    },
    "name": "api_film_production_budget"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYesitems; see operation description for units and format
budgetYesbudget; see operation description for units and format
contingency_pctNocontingency pct; see operation description for units and format

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, open-world, and non-destructive behavior. The description adds useful behavioral context beyond annotations: a 0.01 USDC cost on Base x402 and the X-Provider-Key header for customer-owned provider credentials.

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, front-loads the core purpose, and then adds cost and credential details without unnecessary wording. Every sentence contributes useful information.

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 description covers purpose, cost, credentials, and the over/under budget outcome, which is good for a calculation tool with annotations. It remains incomplete for a tool with no output schema and a free-form items string because it does not explain input formatting or the return structure in enough detail.

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 the baseline is 3, and the description names line items, budget, and contingency percent. However, it does not clarify the string format for items, the currency/units for budget, or whether contingency_pct is a decimal or whole percent, and the schema descriptions merely defer to the operation description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: allocate a film production budget across line items and contingency percent, with over/under budget output. This is clear enough for an agent to distinguish it from unrelated sibling tools 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 Guidelines3/5

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

Usage is implied by the film-production budgeting purpose, but the description does not explicitly say when to use this tool versus alternatives or when not to use it. The payment and credential notes are operational context rather than selection guidance.

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.

Resources