Skip to main content
Glama
emiliaprotocol

emilia-mcp-server

Official

ep_create_delegation

Authorize an agent to act on your behalf by recording a delegation with defined scope, expiry, and optional constraints.

Instructions

Create a delegation record: a human or principal authorizes an agent to act on their behalf. The delegation is recorded in the EP ledger with scope, expiry, and optional constraints. Every delegated action can reference this delegation to prove authorization.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
principal_idYesThe principal (human/org) granting the delegation
agent_entity_idYesThe agent entity being authorized
scopeYesList of permitted action types (e.g. ["purchase", "book", "send_email"])
max_value_usdNoMaximum transaction value in USD this delegation authorizes (optional)
expires_atNoISO8601 expiry timestamp. If omitted, defaults to 24 hours.
constraintsNoAdditional constraints (geo, merchant_category, etc.)
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 for behavioral disclosure. It mentions the delegation is recorded in the EP ledger with scope, expiry, and optional constraints, and that delegated actions can reference it. However, it lacks details on idempotency, error states, or side effects. This is adequate but not comprehensive.

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 four sentences and front-loaded with the purpose. It efficiently explains the concept and the recording mechanism. No superfluous words; it is concise for the 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 that there is no output schema, the description should explain what the tool returns (e.g., delegation ID, success status). It does not. Also, with 6 parameters including nested objects, additional context on usage constraints or prerequisites would be valuable. The description is incomplete for a tool of this complexity.

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?

All parameters have schema descriptions (100% coverage), so the baseline is 3. The description adds minimal value beyond the schema, only contextualizing that the delegation is recorded in the ledger with scope, expiry, and constraints. It does not explain parameter formats or relationships beyond what's in 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 tool creates a delegation record and explains what a delegation is (a principal authorizes an agent). The verb 'create' and resource 'delegation record' are specific. However, it does not explicitly differentiate from sibling tools like ep_delegation_judgment or ep_verify_delegation, so it loses a point.

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?

The description implies usage context (when you need to authorize an agent), but it provides no guidance on when not to use this tool or what alternatives exist among siblings. For example, it doesn't mention that verification or judgment of delegations should be done with other tools.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/emiliaprotocol/emilia-protocol'

If you have feedback or need assistance with the MCP directory API, please join our Discord server