Skip to main content
Glama

covenant__grant_covenant

Grant an agent a covenant lease with specified scopes, budget ceiling, and expiration. Returns a covenant ID for authorized access.

Instructions

[covenant — deny-by-default authority leases] Grant an agent a covenant: an explicit lease of authority. scopes support wildcards ('payments.', ''); budget_minor is the total spend ceiling in minor units; expires_at is ISO-8601. Returns the covenant_id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scopesYes
agent_idYes
principalYes
expires_atYes
budget_minorYes
Behavior2/5

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

No annotations are present, so the description must fully disclose behavioral traits. It only mentions the return of a covenant_id and gives parameter hints, but omits important details like whether the operation is destructive, idempotent, or requires specific authentication. The mutation nature is implied but not explicitly stated.

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 brief at two sentences, with the purpose front-loaded in brackets. It avoids extraneous content, though a more structured breakdown of parameters would improve readability.

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

Completeness3/5

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

Given no output schema, no annotations, and five required params, the description covers core usage but lacks detail on return value structure and omitted parameter explanations. It provides enough for basic invocation but not for comprehensive understanding.

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?

The input schema has no descriptions (0% coverage), so the description must compensate. It clarifies that scopes support wildcards, budget_minor is a spend ceiling in minor units, and expires_at is ISO-8601. However, it does not explain principal or agent_id beyond their names.

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?

The description clearly identifies the tool as granting a covenant, an explicit lease of authority. The verb 'Grant' and noun 'covenant' are specific, and the context of 'deny-by-default authority leases' distinguishes it from sibling tools that perform other agent-related actions like deletion or description.

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 the tool is for granting authority but does not explicitly state when to use it vs alternatives like covenant revocation or other agent management tools. It provides no guidance on preconditions, when not to use, or exclusions.

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/jdhart81/viridis-agent-fleet'

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