Skip to main content
Glama

Agent Permission Ledger

wever_agent-permission-ledger
Destructive

Paid URL: 0.10 USDC per call on Base; 10 signed-wallet free calls shared over rolling 30 days. Read the backend 402 body for x402 terms. Persist wallet-scoped permission grants and revocations and evaluate an exact subject, action and resource against those records. Operating boundary: Record a permission grant or revocation for a subject, action and resource. Query those records to make an access decision in the target system. POST /api/agent-permission-ledger. Existing product credentials, signed mandates, and single-use action grants remain required where applicable. This adapter grants no authority and never supplies server credentials. Wallet-authenticated bounded operations service with durable records. See /api/operations-contract for exact schemas, verified scope and unavailable capabilities.

Input Schema

NameRequiredDescriptionDefault
modeYes
limitNo
usageNo
actionNo
offsetNo
reasonNo
actionsNo
grant_idNo
resourceNo
resourcesNo
expires_atNo
subject_walletNo
idempotency_keyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed22 schema fields changed
    • changedInput schema / additionalProperties
      Previous value: -trueNew value: +false
    • removedInput schema / description
      Removed value: -"The existing product POST body. Supply its documented mode, arguments, and required signed authority or grant. The product validates its full contract."
    • removedInput schema / maxProperties
      Removed value: -64
    • removedInput schema / minProperties
      Removed value: -1
    • addedInput schema / oneOf
      Added value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "actions": {
      +        "items": {
      +          "maxLength": 96,
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "maxItems": 16,
      +        "minItems": 1,
      +        "type": "array",
      +        "uniqueItems": true
      +      },
      +      "expires_at": {
      +        "maximum": 4102444800,
      +        "minimum": 1,
      +        "type": "integer"
      +      },
      +      "idempotency_key": {
      +        "pattern": "^[a-zA-Z0-9_-]{1,96}(?![\\s\\S])",
      +        "type": "string"
      +      },
      +      "mode": {
      +        "const": "grant"
      +      },
      +      "resources": {
      +        "items": {
      +          "maxLength": 512,
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "maxItems": 16,
      +        "minItems": 1,
      +        "type": "array",
      +        "uniqueItems": true
      +      },
      +      "subject_wallet": {
      +        "pattern": "^0x(?!0{40})[a-fA-F0-9]{40}(?![\\s\\S])",
      +        "type": "string"
      +      },
      +      "usage": {
      +        "enum": [
      +          "synthetic",
      +          "operational"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "mode",
      +      "idempotency_key",
      +      "subject_wallet",
      +      "actions",
      +      "resources",
      +      "expires_at",
      +      "usage"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "grant_id": {
      +        "pattern": "^[a-f0-9]{64}(?![\\s\\S])",
      +        "type": "string"
      +      },
      +      "idempotency_key": {
      +        "pattern": "^[a-zA-Z0-9_-]{1,96}(?![\\s\\S])",
      +        "type": "string"
      +      },
      +      "mode": {
      +        "const": "revoke"
      +      },
      +      "reason": {
      +        "maxLength": 512,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "usage": {
      +        "enum": [
      +          "synthetic",
      +          "operational"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "mode",
      +      "idempotency_key",
      +      "grant_id",
      +      "reason",
      +      "usage"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "action": {
      +        "maxLength": 96,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "mode": {
      +        "const": "evaluate"
      +      },
      +      "resource": {
      +        "maxLength": 512,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "subject_wallet": {
      +        "pattern": "^0x(?!0{40})[a-fA-F0-9]{40}(?![\\s\\S])",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "mode",
      +      "subject_wallet",
      +      "action",
      +      "resource"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "limit": {
      +        "maximum": 25,
      +        "minimum": 1,
      +        "type": "integer"
      +      },
      +      "mode": {
      +        "const": "list"
      +      },
      +      "offset": {
      +        "maximum": 255,
      +        "minimum": 0,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "mode",
      +      "offset",
      +      "limit"
      +    ],
      +    "type": "object"
      +  }
      +]
    • addedInput schema / properties / action
      Added value: +{
      +  "maxLength": 96,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / actions
      Added value: +{
      +  "items": {
      +    "maxLength": 96,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "maxItems": 16,
      +  "minItems": 1,
      +  "type": "array",
      +  "uniqueItems": true
      +}
    • addedInput schema / properties / expires_at
      Added value: +{
      +  "maximum": 4102444800,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / grant_id
      Added value: +{
      +  "pattern": "^[a-f0-9]{64}(?![\\s\\S])",
      +  "type": "string"
      +}
    • addedInput schema / properties / idempotency_key
      Added value: +{
      +  "pattern": "^[a-zA-Z0-9_-]{1,96}(?![\\s\\S])",
      +  "type": "string"
      +}
    • addedInput schema / properties / limit
      Added value: +{
      +  "maximum": 25,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / mode / enum
      Added value: +[
      +  "grant",
      +  "revoke",
      +  "evaluate",
      +  "list"
      +]
    • removedInput schema / properties / mode / maxLength
      Removed value: -128
    • removedInput schema / properties / mode / minLength
      Removed value: -1
    • removedInput schema / properties / mode / type
      Removed value: -"string"
    • addedInput schema / properties / offset
      Added value: +{
      +  "maximum": 255,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedInput schema / properties / reason
      Added value: +{
      +  "maxLength": 512,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / resource
      Added value: +{
      +  "maxLength": 512,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / resources
      Added value: +{
      +  "items": {
      +    "maxLength": 512,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "maxItems": 16,
      +  "minItems": 1,
      +  "type": "array",
      +  "uniqueItems": true
      +}
    • addedInput schema / properties / subject_wallet
      Added value: +{
      +  "pattern": "^0x(?!0{40})[a-fA-F0-9]{40}(?![\\s\\S])",
      +  "type": "string"
      +}
    • addedInput schema / properties / usage
      Added value: +{
      +  "enum": [
      +    "synthetic",
      +    "operational"
      +  ]
      +}
    • addedInput schema / required
      Added value: +[
      +  "mode"
      +]
  2. First observed

TDQS

B3.2/5.0
Behavior4/5

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

Annotations already declare destructive=true, openWorld=true, idempotent=false, readOnly=false, so the bar is lower — yet the description adds genuinely new context: per-call pricing on Base, 10 free signed-wallet calls per rolling 30 days, wallet authentication, requirement for existing credentials/mandates, and the explicit disclaimer that the adapter grants no authority and never supplies server credentials. What it does not disclose is the destructive footprint itself (what a revoke destroys, whether grants are recoverable) or the return shape of an evaluate decision.

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

Conciseness3/5

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

Pricing and operating boundary are front-loaded, which is the right ordering, and no sentence is pure filler. But the prose is dense and partly redundant ('This adapter grants no authority and never supplies server credentials' restates the operating boundary), and the pointer to /api/operations-contract pushes essential schema knowledge out of the definition.

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?

This is a destructive, wallet-authenticated, paid, multi-mode mutation tool with 13 parameters, zero schema descriptions, and no output schema — the highest-burden combination. The description covers billing and credentials well but leaves mode dispatch, idempotency semantics, expiration behavior, pagination, and what evaluate returns entirely unexplained, so an agent cannot safely call it from the 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% across 13 parameters and a four-branch oneOf, so the description must carry the load and largely does not. It gestures at subject/action/resource and the grant/revoke distinction, but never explains mode selection, idempotency_key, the synthetic/operational usage enum, expires_at, grant_id, reason, or the offset/limit pagination bounds — all of which are non-obvious and undocumented elsewhere.

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 opening sentence gives a specific verb-and-resource pair: persist wallet-scoped permission grants/revocations and evaluate a subject/action/resource triple against them. That is far more precise than the title alone. It does not, however, distinguish this from adjacent authority tools among the siblings (wever_delegated-authority, wever_payment-authority-inspector, wever_agent-allowance-console), so an agent cannot tell which of those to pick from the description.

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?

The 'Operating boundary' paragraph implies usage — record a grant/revocation, then query the records to make an access decision — which is real guidance about the intended workflow. But there are no explicit when-not conditions and no named alternatives, and the 'list' mode is never described at all, so the agent must infer it from the schema's mode enum.

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.