Skip to main content
Glama

Delegate a budget

delegate_access
Destructive

Lets a key or project run specific work within a per-run and monthly limit.

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": {
      "actor_key": "<actor_key>",
      "operations": "<operations>",
      "per_run_cents": "<per_run_cents>",
      "period_cents": "<period_cents>",
      "valid_until": "<valid_until>"
    },
    "name": "delegate_access"
  }
}

Input Schema

NameRequiredDescriptionDefault
quote_idNo
actor_keyYes
operationsYes
project_idNo
scope_hashNo
valid_untilYes
period_centsYes
per_run_centsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so the mutation risk is covered structurally. The description adds real context by explaining the limiting semantics (per-run cap plus monthly cap) that the annotations cannot express. However, it omits critical behavior: whether a quote_id must be obtained first, whether the grant is revocable or time-bounded by valid_until, and whether spend can exceed limits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is front-loaded and free of filler, so nothing is wasted. But conciseness has tipped into under-specification for a destructive 8-parameter mutation; the size is not proportionate to the tool's complexity.

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?

With 8 parameters at 0% schema coverage, no output schema, and destructiveHint=true, the description should explain inputs, prerequisites, and consequences. It covers only the budget-limit concept, leaving the agent without enough to invoke the tool correctly or safely.

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% across 8 parameters, so the description must carry the burden and largely fails. It only loosely gestures at per_run_cents/period_cents ('per-run and monthly limit') and actor_key/project_id ('a key or project'), leaving quote_id, the operations enum values, scope_hash's 64-hex constraint, and valid_until entirely unexplained.

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

Purpose3/5

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

The description conveys the effect — granting a key or project the ability to run specified work under per-run and monthly caps — which loosely maps to actor_key/project_id, operations, per_run_cents and period_cents. But it uses a soft verb ('Lets ... run') rather than naming the action as a delegation/authority grant, and it does nothing to distinguish it from capacity siblings like authorize_capacity_work or quote_capacity_work. An agent can guess the domain but not precisely what resource is created.

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 when-to-use guidance, no prerequisites, and no mention of alternatives such as quote_capacity_work, authorize_capacity_work, or create_api_key. The phrase 'a key or project' faintly hints at the actor_key vs project_id choice, but that is inference rather than stated 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.