Skip to main content
Glama
aeoess

agent-passport-system-mcp

create_policy_context

Create a v2 PolicyContext with a mandatory sunset date (valid_until) for v2 objects. Ensures all v2 policies have a maximum 180-day validity period for trust and compliance.

Instructions

Create a v2 PolicyContext with mandatory sunset. Every v2 object requires one.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
policy_versionNo2.0.0
values_floor_versionNo1.0.0
trust_epochNo
valid_untilYesISO 8601 expiration (mandatory, max 180 days)
Behavior2/5

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

No annotations provided; description only mentions mandatory sunset, lacking details on side effects, permissions, or creation behavior.

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?

Two concise sentences with no fluff, though the second sentence could be integrated into the first.

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?

For a 4-parameter creation tool with no output schema and low parameter coverage, the description omits crucial context like what the PolicyContext is used for and what the response contains.

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?

Only the 'valid_until' parameter has description in schema (25% coverage); description adds no parameter-level meaning beyond stating the object requirement.

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 it creates a v2 PolicyContext with a mandatory sunset, but does not differentiate from sibling tools like create_agent_context or create_v2_delegation.

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?

Implicitly suggests it's a prerequisite for other v2 objects, but no explicit when-to-use or when-not-to-use guidance, and no mention of alternatives.

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/aeoess/agent-passport-system-mcp'

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