Skip to main content
Glama

authorize_delegation

Persist a bounded delegation authorization to govern AI task dispatch. Ensures host refuses unauthorized work, enforces cost ceilings, and requires owner approval for high-cost workers with one active delegation per family.

Instructions

Persist one bounded delegation authorization from current runtime/cost/concurrency state.

This is a policy/coordination record, not the model dispatch itself. The host must refuse dispatch when authorized is false. High-cost workers require explicit owner approval and only one high-cost delegation may be active per family.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
purposeYes
task_keyYes
family_idYes
worker_keyYes
input_scopeNo
cost_ceilingNoSTANDARD
owner_approval_idNo
coordinator_actor_idYes
required_capabilitiesNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.2

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It does reveal important constraints: it is a persisted record, the host must refuse dispatch when 'authorized' is false, and high-cost workers require explicit owner approval with a limit of one active per family. However, it omits details about error handling, idempotency, or what happens when constraints are violated. The description gives some context but not a complete behavioral picture.

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 description is concise, consisting of two short paragraphs. The main purpose is front-loaded in the first sentence, and the second paragraph adds relevant context about constraints. There is no wasted wording, and it is appropriately sized for 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?

Given the tool's complexity (9 parameters, 5 required) and the absence of schema descriptions, the description is insufficient. It does not explain what each parameter does, how they relate to the runtime/cost/concurrency state mentioned, or what the output schema contains. The description provides some high-level policy context but leaves an agent without enough information to correctly construct a valid request. For a tool with this many parameters, a much more thorough explanation is needed.

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 the description must compensate by explaining parameters. It does not. The only parameter-related hint is that high-cost workers require owner approval, which loosely maps to 'cost_ceiling' and 'owner_approval_id', but the description does not explicitly tie these to parameters. Parameters like 'family_id', 'worker_key', 'task_key', 'purpose', 'input_scope', and 'required_capabilities' are left entirely unexplained. The description adds minimal semantic value beyond the schema.

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?

The description clearly states the action: 'Persist one bounded delegation authorization from current runtime/cost/concurrency state.' It specifies the resource (delegation authorization) and the verb (persist), and clarifies that this is a policy/coordination record rather than the model dispatch itself, distinguishing it from dispatch-related siblings. However, it does not explicitly name any sibling tool, so it lacks the strongest form of differentiation.

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?

The description does not provide explicit guidance on when to use this tool versus alternatives. It implies its use for creating authorizations but does not contrast with other delegation-related tools like 'complete_delegation' or 'delegation_status'. The statement 'This is a policy/coordination record, not the model dispatch itself' hints at usage but is not a clear directive. No when-to-use or when-not-to-use conditions are given.

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

Deploy Server

Other Tools