Skip to main content
Glama

Consent expiry check

wever_consent-expiry-check
Read-only

Agent Consent: submit the grant’s term and the planned use: the grant with its id, when it was given, when it ends, how long it runs (such as 12 months or until withdrawn), whether it runs until the principal withdraws it and its wording, read for an open-ended term such as as long as necessary or indefinitely; the use with when it starts, when it ends and whether it is ongoing with no end; and optionally the moment to read the grant at (the use start when left out) and the days before the end that count as expiring (30 when left out). The signed report gives the grant with its end and where the end comes from (the stated date, the date given plus the term in days, or a rule that it runs until withdrawn), the use, and a timeline with the moment read, the days left and the days the use runs past the end, and names a grant that does not last the use: a grant that ended before the use starts or before the moment read, and a use that finishes after the grant ends; then an ongoing use with no end against a grant that ends, an end inside the warning window, a term that names no length and an open-ended term, with the fix for each. Months count at 30 days and years at 365. This reads the end of one grant against the use: a delegation’s end and whether it is checked before each use is wever_delegation-expiry-check, a trading or treasury mandate’s current state is wever_mandate-status, how long a memory system keeps what it remembers is wever_memory-retention-check and a written data retention policy is wever_data-retention-check. Verdict consent_expired, consent_expiring, consent_expiry_unknown or consent_current. POST /api/consent-expiry-check. Reads only the recorded consent material in the call: no network request, fetch, money movement, message, sharing, configuration change or external write; no principal is contacted, no consent is requested, recorded, renewed or withdrawn and no data is used, moved or deleted. Agent Consent reads the grant the principal gave before the agent uses data or acts on it: whether the grant covers this use, whether it is still in force, whether it was withdrawn, whether the record proves it, what it was given for, whether the data may pass on and whether fresh consent is due. It is not the agent’s authority to act (wever_authority-scope-check reads an agent’s access list against the authority grant its operator gave it; a consent check reads the grant the principal gave over their own data: authority is not consent, and consent is not authority), not a mandate (the wever_mandate tools, wever_mandate-issue, wever_mandate-amend, wever_mandate-revoke and wever_mandate-draft, issue and change what an agent may trade or spend for a principal; a consent check reads what the principal agreed may be done with their data and changes nothing), not a data sample (wever_data-evidence-check reads a dataset sample’s fields and types; a consent check reads the permission behind using the data, not the data itself), not terms against a purchase (wever_terms-match-check reads purchases already made against their governing terms; a consent grant is the principal’s permission, not a seller’s terms), not a promise (the wever_commitment checks read what the agent promised; consent is what the principal granted, and an agent’s promise never stands in for it) and not an objective (the wever_goal checks read the objective the work serves; a consent check reads whether the principal’s grant allows the work at all). Paid URL: 0.10 USDC per call on Base via x402 exact, with the shared 10 signed-wallet free calls per rolling 30 days. Bind X-Wever-Wallet-Proof to the exact JSON arguments and the tool route. Returns a report with an Ed25519 signed receipt. Contract: /api/agent-consent-contract. Human page: https://weverlabs.com/agent-consent/.

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": {
      "grant": "<grant>"
    },
    "name": "wever_consent-expiry-check"
  }
}

Input Schema

NameRequiredDescriptionDefault
useNo
grantYes
labelNoOptional name recorded in the report.
read_atNoThe moment to read the grant at; the use start when left out.
warn_daysNoDays before the end that count as expiring; 30 when left out.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is largely given. The description still adds genuine behavioral context beyond them: it reads only the consent material in the call, contacts no principal, requests, renews or withdraws no consent, and deletes no data. It also adds cost and access details (0.10 USDC per call on Base via x402, 10 signed-wallet free calls per rolling 30 days, X-Wever-Wallet-Proof binding) and an Ed25519 signed receipt. With the annotations already carrying the read-only story, this additional context earns a 3 rather than a higher score, since much of it repeats that the tool writes nothing.

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

Conciseness2/5

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

The description is a single sprawling run-on of several hundred words, with multiple semicolon-linked clauses and nested enumerations of grant and use fields. It is not front-loaded: the clearest purpose statement appears after a wall of parameter prose. Substantial content duplicates what the input schema already documents, and the length actively harms scanability for an agent choosing among 30+ sibling tools.

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

Completeness5/5

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

There is no output schema, and the description compensates by naming all four verdicts and describing the signed report's contents: the grant's end and its source, the use, and a timeline with days left and days the use runs past the end. It also names each failure case with its fix — ongoing use against a terminating grant, an end inside the warning window, a term naming no length, an open-ended term. Pricing, wallet proof, receipt type and contract URL are all present.

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 coverage is 60% for five parameters, including two nested objects, and the description adds interpretation rules the schema does not: months count at 30 days and years at 365, read_at defaults to the use start, warn_days defaults to 30. It also restates much of the schema's own field text (id, given_at, expires_at, term, until_revoked, starts_at, ends_at, ongoing, text), which adds little. The added counting and default semantics push it above the baseline of 3.

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 states a specific verb and resource — it reads the end of one grant against a planned use and returns a verdict (consent_expired, consent_expiring, consent_expiry_unknown, consent_current). It also separates itself from wever_delegation-expiry-check, mandate-status, memory-retention-check and data-retention-check by name. The core purpose is buried in a long run-on that opens with a field enumeration rather than a crisp statement of what the tool does, so it is clear but not efficiently conveyed.

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?

Guidance is explicit about what this tool is not: not authority (wever_authority-scope-check), not a mandate, not a data sample, not terms against a purchase, not a promise, not an objective, each with the condition that selects the alternative. The positive 'use this when' statement is thinner and must be inferred from 'reads the end of one grant against the use.' Alternatives are well covered, but the boundary conditions are given mostly in the negative.

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.

Resources