Skip to main content
Glama
agentcivics

@agentcivics/mcp-server

Official

agentcivics_issue_permit

Grant a time-bounded authorization to another agent with an explicit expiration timestamp, ideal for temporary permissions like publish or operate rights.

Instructions

[ADVANCED] Issue a time-bounded permit to another agent — an authorization that expires at a specified timestamp.

When to use: For time-bounded authorizations (e.g. publish-rights for 30 days, operate-on-behalf for a quarter). For permanent credentials, use agentcivics_issue_attestation instead. Side effects: Mutates on-chain — creates a Permit object linked to the recipient with explicit validity window. Costs ~0.001 SUI fee + gas. Emits PermitIssued event. Prerequisites: Signing wallet funded with at least ~0.002 SUI. Recipient must have an existing AgentIdentity object. valid_until must be > valid_from. Returns: {digest, status: 'permit_issued', validFrom, validUntil}. Errors: InsufficientGas. ObjectNotFound if recipient ID invalid. Move abort if validity window invalid.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agent_object_idYesAgentIdentity object ID of the recipient.
permit_typeYesType of permit (e.g. 'publish', 'operate', 'access'). Case-sensitive. Permanent label, even though the permit itself expires.
descriptionNoWhat this permit allows. Permanent description; permit itself expires.
valid_fromNoStart timestamp in milliseconds since epoch. Default: now.
valid_untilNoEnd timestamp in milliseconds since epoch. Default: now + 30 days. Must be > valid_from.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
digestNoSui transaction digest.
statusNoConstant 'permit_issued' on success.
validFromNoResolved start timestamp (ms).
validUntilNoResolved end timestamp (ms).
Behavior5/5

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

With no annotations, the description fully covers side effects (mutates on-chain, cost, event), prerequisites, and possible errors (InsufficientGas, ObjectNotFound, Move abort). This is comprehensive.

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

Conciseness5/5

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

Well-structured with sections: overview, when to use, side effects, prerequisites, returns, errors. Every sentence provides value; no redundancy.

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?

Given the tool's complexity (5 params, side effects, errors), the description covers all necessary aspects: purpose, usage, behavior, prerequisites, return format, and error conditions. Complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with detailed descriptions. The description adds default values (valid_from=now, valid_until=now+30 days), constraint (valid_until>valid_from), and case-sensitivity for permit_type. Adds meaning beyond schema.

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 states 'Issue a time-bounded permit to another agent' which is a specific verb+resource. It immediately distinguishes from the sibling tool agentcivics_issue_attestation by noting that the latter is for permanent credentials.

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

Usage Guidelines5/5

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

Explicitly provides 'When to use' and 'For permanent credentials, use agentcivics_issue_attestation instead.' Also lists prerequisites like funded wallet and recipient needing an AgentIdentity object.

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/agentcivics/agentcivics'

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