Skip to main content
Glama

Vibes-Coded Agent Security and Commerce Tools

vc_lease_issue

Read-onlyIdempotent

Mint a durable single-use capability lease, or attenuate a parent lease. Use before an irreversible action you may need to retry: pass a stable use_nonce to vc_lease_consume so a retry after a timeout blocks instead of writing twice. Authority is conserved — a child's uses are reserved out of the parent, so a 1-use grant cannot father N free children. ~$0.05/call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
holderYesAgent the authority belongs to. Use '*' for any holder.
max_usesNoHow many times this authority may be spent (1..10000).
ttl_secondsNoSeconds until expiry. Secondary check only: the ledger is the authority.
action_scopeYesSpace-separated scope atoms the lease grants, e.g. 'read:repo write:issue'.
parent_lease_idNoAttenuate from this parent: child scope must be a subset, and its uses are transferred out of the parent.
payment_signatureNoOptional x402 PAYMENT-SIGNATURE if not using X-Vibes-Key.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior1/5

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

Annotations declare readOnlyHint=true and idempotentHint=true, but the description says the tool mints a durable capability and that 'a child's uses are reserved out of the parent' — i.e. it writes to a ledger and depletes the parent's remaining uses, and it costs ~$0.05 per call. Repeating an attenuation with the same parent is not idempotent, so the annotations contradict the described behavior. Flagged as an annotation contradiction.

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?

Four short sentences, front-loaded with the core verb+resource and with the cost note last. No filler, though the retry/use_nonce sentence is dense and mixes guidance about a different tool's parameter into this tool's description.

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 6-parameter tool with full schema coverage, an output schema (so return values need not be described), and non-default behavior around authority conservation, the description covers purpose, retry rationale, and price. The remaining gap is that the stated safety profile conflicts with the annotations rather than being merely incomplete.

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?

Schema description coverage is 100%, so all six parameters (holder, max_uses, ttl_seconds, action_scope, parent_lease_id, payment_signature) are already documented in the schema. The description reinforces the parent/child authority-conservation semantics ('a 1-use grant cannot father N free children') but adds no syntax or format detail beyond the schema, so the baseline 3 applies.

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?

States two specific actions with their resources: minting a durable single-use capability lease, and attenuating a parent lease. It also names the downstream sibling (vc_lease_consume), so the agent can place this in a workflow without opening any schema.

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?

Gives a concrete use condition ('before an irreversible action you may need to retry') and an explicit alternative pattern (stable use_nonce with vc_lease_consume), plus the cost per call. It does not state when to choose attenuation versus a fresh mint, nor any exclusion, so it stops short of a 5.

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.