Skip to main content
Glama

drift — mandate enforcement for AI agents

Server Details

Block an action a signed mandate does not permit: amount, payee, audience, currency, window, intent.

Ownership verified
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-06-18
URL
Repository
mrpkk/drift
GitHub Stars
0
Server Listing
drift
ChatGPT
–
Claude
–

TDQS

A4.7/5.0

Scored across 3 tools

Disambiguation5/5

The three tools have clearly distinct purposes: check a single action, explain the rule order, and check a sequence. Each description explicitly states when to use it and when not to, including cross-references to the others (e.g., 'use drift_check for that').

Naming Consistency5/5

All tools follow a consistent 'drift_' prefix with a concise noun/verb suffix (check, explain, session), forming a predictable and readable naming pattern tied to the server's name.

Tool Count5/5

With three well-scoped tools, each earns its place: enforcement checking for one action, multi-action sequence checking, and a static rule explanation. Nothing feels redundant or missing for the stated mandate-enforcement purpose.

Completeness4/5

The surface covers the core enforcement lifecycle: checking single actions, checking sequences, and explaining rules. It explicitly scopes out signature verification and actual execution, which are handled by other systems, so no critical gaps exist within its domain.

Available Tools

3 tools
drift_checkA
Read-onlyIdempotent
Inspect

Check ONE proposed action against a signed agent mandate BEFORE it happens. Returns {"verdict": "ALLOW"|"DENY", "rule": } plus a report with a ledger fingerprint.

Six rules run in a fixed order, so a refusal names the most important reason rather than an incidental one: amount, payee, audience, currency, window, intent. Anything unclassified is DENY.

Use immediately before any action that spends money, moves a credential or changes state on someone else's behalf.

Do NOT use to: verify mandate signatures (AP2 does that, and this server runs after signature verification), execute the action (it only decides), or certify that an intent is truthful — "intent" arrives from the agent and is untrusted input. An agent that lies within its limits still leaves a ledger entry; proving what really happened is attest's job, not this one's.

Amounts are integer minor units (cents), never floats. Window bounds are inclusive. Fully idempotent: the same inputs always give the same verdict and the mandate is never mutated.

Inputs: action (required), mandate (required).

drift_explainA
Read-onlyIdempotent
Inspect

Return the six enforcement rules in the exact order they are applied, each with a plain-language reason it exists. Takes no mandate and no action.

Use when a refusal did not make sense, or before explaining a denial to someone whose mandate was rejected. A refusal you cannot explain is one nobody will trust.

Do NOT use it to check an action — it performs no check, and cannot predict which rule will fire, only the order they are tried in.

Constant output, fully idempotent, opens no files, contacts no host.

Inputs: no named parameters.

drift_sessionA
Read-onlyIdempotent
Inspect

Check a SEQUENCE of proposed actions against one mandate. Returns {submitted, allowed, denied, breach_by_rule, fingerprint}.

Use for a whole plan or batch, not a single action — use drift_check for that. The fingerprint is the point: rewriting or reordering any earlier decision changes the hash, so tampering with history becomes visible instead of silent.

Do NOT use it to execute the actions, or as evidence of what actually happened. It reports what was PROPOSED against a mandate you supply.

Read-only. Idempotent for a fixed action list. Amounts in integer minor units, as in drift_check.

Inputs: actions (required), mandate (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to inspect, check, and audit signed offline spending authorizations, and to issue hash-chained receipts for each action taken against them. Enforces per-transaction, total, expiry, merchant, and human-approval constraints, returning allow, needs_human, or deny with the specific failing constraint.
      Apache 2.0
    • A
      license
      A
      quality
      D
      maintenance
      Enables AI agents to make payments with strict spending limits enforced by signed mandates, preventing unauthorized fund movement beyond predefined caps and allowlists.
      4
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables agents to request payment authorization against signed human mandates, enforcing policy-as-code limits and returning a decision (authorize, challenge, or deny) without moving funds.
      1
      1
      Apache 2.0
    • A
      license
      A
      quality
      B
      maintenance
      Verifies agent actions against mandates via a single tool, returning allow, deny, or requires_approval receipts without executing the actions.
      1
      45 npm
      MIT
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.