Consent expiry check
wever_consent-expiry-checkAgent 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
| Name | Required | Description | Default |
|---|---|---|---|
| use | No | ||
| grant | Yes | ||
| label | No | Optional name recorded in the report. | |
| read_at | No | The moment to read the grant at; the use start when left out. | |
| warn_days | No | Days before the end that count as expiring; 30 when left out. |