Skip to main content
Glama
ProofHoldings

@proof-holdings/mcp-server

Official

create_delegation

Issue a signed Proof of Delegation: a control-proven domain authorizes a url or purl artifact for specified capability scopes and receives a publishable token with effective status.

Instructions

Create a delegation (Proof of Delegation): a control-proven domain authorizes a typed url/purl artifact for a set of capability scopes and receives a publishable signed token. The attestation is that the domain's controller authorized this artifact — nothing more; it says nothing about the artifact or the business behind it. Each mint is a billable proof. A requested lifetime longer than the control proof's remainder is rejected, never truncated. The result carries the publishable token AND the DERIVED effective_status/is_valid — the same pair the list and get tools return, so the shape does not depend on which verb produced it.

ACCESS: needs a Proof account. Set PROOF_API_KEY and restart this server, then call this tool again. start_login does NOT open this tool.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scopeYes1-32 capability scopes: lowercase kebab-case tokens, at most 64 characters each (e.g. send-email). NOT API scopes — an API-style resource:action such as payments:read is rejected with invalid_scope.
delegateYesThe typed artifact being authorized
expires_inNoLifetime in seconds (must not exceed the control proof's remainder)
control_proofYesPublic handle (ph_ctl_<32 hex>) of YOUR active domain control proof

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the readOnlyHint=false / destructiveHint=false annotations. It discloses billing ('each mint is a billable proof'), a hard failure mode ('a requested lifetime longer than the control proof's remainder is rejected, never truncated'), and the returned shape (publishable token plus DERIVED effective_status/is_valid, consistent with list/get tools).

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?

Front-loaded with the purpose and definition, then progressively adds billing, lifetime behavior, result shape, and access. Every sentence carries information, though the middle section is dense and the access note could be tightened.

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

Completeness5/5

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

For a mutating tool with a nested object parameter, no output schema, and auth requirements, the description covers what is missing elsewhere: return shape, billing implications, the lifetime rejection rule, and the account/API-key prerequisite. An agent has what it needs to decide and call correctly.

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?

Schema description coverage is 100%, so the schema already documents all four parameters, including the scope token format and the expires_in remainder constraint. The description adds only marginal parameter meaning ('rejected, never truncated' on lifetime), so the baseline 3 is appropriate.

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?

States a specific verb+resource (create a delegation) and defines what a Proof of Delegation actually is: a control-proven domain authorizing a typed url/purl artifact for capability scopes, returning a publishable signed token. It also scopes the semantics precisely ('the domain's controller authorized this artifact — nothing more'), which lets an agent distinguish it from sibling verbs like list_delegations, get_delegation, and verify_delegation.

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

Usage Guidelines4/5

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

Provides a clear prerequisite in the ACCESS section (needs a Proof account, set PROOF_API_KEY, restart) and an explicit when-not: 'start_login does NOT open this tool.' What is missing is any routing versus close siblings such as create_authorization or create_confirmation, which an agent might otherwise confuse with this minting operation.

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