Skip to main content
Glama
aegis-action-firewall

aegis-action-firewall

mint_signed_context_token

Sign a short-lived Ed25519 context token to authorize Vault lease checkout, binding tenant, actor, trace, scopes, trust level, and integrity data.

Instructions

Sign a short-lived Ed25519 X-Aegis-Context-Token (ttl_sec <= 60) for Vault lease checkout.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "tenant_id": "<tenant_id>",
      "actor_id": "<actor_id>",
      "trace_id": "<trace_id>"
    },
    "name": "mint_signed_context_token"
  }
}

Input Schema

NameRequiredDescriptionDefault
scopesNo
ttl_secNo
actor_idYes
trace_idYes
tenant_idYes
trust_levelNoTRUSTED_INTERNAL
biba_integrityNoHIGH

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose meaningful behavior: the signature algorithm, the token type, the short-lived nature, and a hard TTL ceiling of 60 seconds. It says nothing about authorization requirements, whether minting has side effects or is idempotent, how trust_level/biba_integrity affect the resulting token, or whether tokens are revocable.

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?

A single front-loaded sentence with no filler, which is exemplary for waste elimination. However, the extreme terseness compresses information the agent genuinely needs (parameter intent, auth context) rather than merely being lean.

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 security-sensitive, 7-parameter token minting tool with zero annotation coverage and zero schema descriptions, one sentence is inadequate; an output schema covers return values, but the meaning of trust_level, biba_integrity, scopes, and the identity triple is missing everywhere. An agent could not reliably construct a correct call from this definition alone.

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?

Schema description coverage is 0% for 7 parameters, so the description must compensate and it barely does: it only constrains ttl_sec (<= 60) and hints that the token is used for lease checkout. The three required identifiers, scopes, trust_level, and biba_integrity receive no explanation at all, leaving six of seven parameters semantically opaque.

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 gives a specific verb (sign), an algorithm/artifact (Ed25519 X-Aegis-Context-Token), and a target use case (Vault lease checkout), so the agent knows exactly what is produced. It stops short of distinguishing this from any sibling, but the listed siblings (http_request_safe, sql_execute_safe, etc.) are not token-minting tools, so no real ambiguity exists.

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?

"For Vault lease checkout" implies the context in which to call it, which is more than nothing but far from explicit. There is no statement of when NOT to use it, no prerequisites, and no guidance on the required tenant_id/actor_id/trace_id trio that a caller must supply.

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