Skip to main content
Glama

Vigil — an outside witness for AI agents

vigil_verify_lease

Offline, FAIL-CLOSED check of a lease token against a pinned pubkey (defaults to this server's key). Returns allow=true only if the signature verifies and the lease has not expired. A gateway should also poll status for revocation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
leaseYesA full lease token from vigil_grant_lease.
pubkey_hexNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full transparency burden. It does this well by disclosing offline behavior, fail-closed semantics, default pubkey behavior, the exact allow condition, and the need to poll status for revocation. It stops short of describing failure modes, error responses, or behavior for malformed tokens, but the core decision logic is transparent.

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?

Three sentences, each carrying distinct value: the mode and posture of the check, the precise allow condition, and the follow-up action. The description is front-loaded with the most important qualifiers ('Offline, FAIL-CLOSED') and contains no filler.

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

Completeness4/5

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

For a two-parameter offline verification tool, the description gives an agent nearly everything needed to invoke it correctly: required input, optional override with default, result semantics, and a follow-up safety step. The main gap is the lack of an output schema or explicit description of the response shape beyond 'allow=true', and edge-case behavior for invalid signatures is only implicit in 'FAIL-CLOSED'.

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

Parameters4/5

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

Schema description coverage is only 50%, so the description meaningfully compensates by explaining that the check is 'against a pinned pubkey (defaults to this server's key)' — this gives real semantic content to pubkey_hex and clarifies it is optional. The lease parameter is already documented as 'A full lease token from vigil_grant_lease' in the schema, and the description reinforces its role.

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 names a specific action ('check of a lease token'), a clear resource, and sharp constraints ('Offline, FAIL-CLOSED', 'allow=true only if the signature verifies and the lease has not expired'). It also sets itself apart from status-style endpoints by noting the gateway should poll status for revocation, making the verification tool's niche clear.

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?

The description clearly conveys when to use this tool: for offline, fail-closed lease checks that never rely on network state. It also gives a usage boundary by stating that revocation must be confirmed by polling status. However, it does not explicitly name alternative sibling tools such as vigil_lease_status or specify when not to use this tool beyond the revocation caveat.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

B3.3/5.0
Disambiguation4/5

The tools are organized into clear domains—receipts/notarization, leases, journals, watchdogs, and account management—and each tool has a distinct resource or action. Minor confusion is possible between vigil_anchor and vigil_anchors, or between the various verification tools, but the descriptions generally make the boundaries clear.

Naming Consistency3/5

All tools share the vigil_ prefix and use snake_case, but the verb/noun ordering is inconsistent: vigil_get_receipt and vigil_delete_watchdog use verb-first, while vigil_journal_get and vigil_journal_delete use resource-first. Several tools are also pure nouns (vigil_chain, vigil_usage, vigil_lease_status), making the overall pattern mixed but still readable.

Tool Count2/5

At 26 tools, this exceeds the 25+ threshold and feels heavy for a single MCP server, even though the tools cluster into several subsystems. Some status, info, and lease-listing tools could plausibly be consolidated without losing much capability.

Completeness4/5

The core lifecycle coverage is strong: receipts can be created, read, verified, and audited via the chain; leases have grant/renew/revoke/status/verify; journals have full CRUD; watchdogs have set/delete/status/heartbeat. Minor gaps exist, such as no direct way to update a watchdog without deleting and recreating it, but these are workable.

Resources