Skip to main content
Glama

Gomo Sounds

Approve spending credits

approve_spending

Records that the USER approved spending credits: valid until that total is spent, for up to 6 hours (a whole batch of tracks fits in one yes); generate_sounds, generate_voice, generate_music and sounds_for_folder refuse without it. Call it ONLY after you showed the user the whole plan with the total cost ("Posso gerar por créditos? Você tem .") and the user explicitly said yes to THAT cost in their last message. Never call it on your own, never because the user asked for a game or said 'do everything' before seeing the cost. credits = the total the user approved (it replaces any earlier approval).

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": {
      "credits": "<credits>",
      "plan": "<plan>",
      "user_reply": "<user_reply>"
    },
    "name": "approve_spending"
  }
}

Input Schema

NameRequiredDescriptionDefault
planYesWhat you asked the user to approve (the events, variations and durations).
creditsYesThe total the user approved.
user_replyYesThe user's own words saying yes, copied exactly.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations beyond the title, the description carries the full behavioral burden and does well: it discloses the six-hour/until-spent expiry, that this approval gates four other tools, that it is a record the agent must never create autonomously, and that a new approval replaces an earlier one. It stops short of error behavior or what a successful call returns, which keeps it from a 5.

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 purpose and gating constraint are front-loaded, and every sentence carries operational weight (validity window, dependents, prerequisites, prohibitions). The embedded Portuguese example sentence and long parenthetical add length that could be trimmed, though they do encode required phrasing.

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?

For a three-required-parameter gating tool with no output schema, the description covers prerequisites, validity, dependents, and prohibitions, which is what an agent needs to call it correctly. It omits failure modes (e.g., what happens if user_reply does not match or if called twice) but is otherwise complete for this tool's complexity.

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

Parameters4/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, but the description adds real meaning for credits: it is the total the user approved and it replaces any earlier approval, which is not stated in the schema. plan and user_reply are essentially covered by their own schema descriptions, so the added value is moderate rather than comprehensive.

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 opens with a precise verb+resource: it records that the USER approved spending credits, and immediately states the scope of that approval (valid until the total is spent, up to 6 hours). It names the sibling tools that refuse without it (generate_sounds, generate_voice, generate_music, sounds_for_folder), so an agent can place it in the workflow without reading other schemas.

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

Usage Guidelines5/5

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

The description gives explicit when-to-call conditions: only after showing the whole plan with total cost and receiving an explicit yes to that cost in the last message. It also states when NOT to call: never on your own and never because the user asked for a game or said 'do everything' before seeing the cost. Prerequisite and alternative behaviors are both covered.

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