Skip to main content
Glama

fikra_set_key_budget

Set daily or monthly USD caps on a key. Free.

Input Schema

NameRequiredDescriptionDefault
key_idYes
daily_cap_usdNo
monthly_cap_usdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden and does not meet it. It says nothing about whether caps are enforced or merely advisory, whether omitted caps are left untouched or cleared, whether 0 means unlimited, or what permissions are required to mutate a key's budget. "Free" is the only behavioral fact disclosed.

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?

Two clipped sentences, zero filler, with the action and scope front-loaded before the cost note. Nothing could be removed without losing content.

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

Completeness2/5

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

This is an unannotated mutation tool with no output schema and zero parameter documentation in the schema, so the description has to do the heavy lifting and does not. An agent cannot confirm side effects, idempotency, or the meaning of key_id before writing.

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 all three parameters are bare names. The description clarifies the USD unit and daily/monthly nature of the two cap fields, but not what key_id refers to or where to obtain it, and it is ambiguous whether both caps may be set simultaneously despite the "or" phrasing.

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 ("Set ... USD caps on a key") plus the two dimensions of the cap (daily or monthly), so an agent can tell this is a budget-configuration mutation. It does not name or contrast with adjacent siblings like fikra_list_api_keys (where key_id comes from) or fikra_get_usage (which reports spend against the cap).

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?

"Daily or monthly" hints at the configuration choice and "Free" signals no cost, but there is no guidance on when to use this versus fikra_get_usage/fikra_list_api_keys, no prerequisites (ownership/admin rights on the key), and no statement about overwriting an existing cap.

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