Skip to main content
Glama

Goal drift check

wever_goal-drift-check
Read-only

Agent Goals: submit a goal with the agent’s recorded actions over time: the goal with its id, outcome and scope; each action with its id, when it was taken, what the agent did, what it was for (the outcome, a scope item or something else), the reason when it was for something else and who approved it; and optionally how many consecutive off-goal actions count as drift (3 when left out). The signed report gives every action in time order with its status as on_goal, approved_detour, explained_detour, off_goal or unlinked, counts the actions on the goal, the approved detours, the unapproved off-goal actions and the longest run, and states the earliest divergence: the first unapproved action away from the goal, when it came and how many on-goal actions came before it, and names drift: a run of consecutive actions that serve something other than the goal with no approval; then single off-goal actions with no reason and detours with a reason but no approval, with the fix for each. This reads an agent’s actions drifting away from its principal’s stated objective: drift in evaluation scores and results over time is wever_evaluation-drift-check, and a build drifting from its specification is wever_spec-drift-check; neither is goal drift. Verdict goal_drifted, drift_minor, drift_unmeasured or drift_absent. POST /api/goal-drift-check. Reads only the recorded goal material in the call: no network request, fetch, money movement, message, sharing, configuration change or external write; no goal is set, changed, approved or retired and no plan is changed. Agent Goals reads an agent’s goal: whether it is well formed, whether it still matches what its principal actually asked for and whether the work has drifted from it. It is not a promise (promises and deadlines once they are made, the wever_commitment checks; a goal is the intended outcome those promises serve, recorded before any promise exists), not how work is divided (the wever_coordination checks, where wever_coordination-plan-check reads the plan for dividing the work; the goal checks read the objective that plan is supposed to serve), not authorization (wever_mandate-issue, wever_mandate-status, wever_mandate-amend, wever_mandate-halt, wever_mandate-revoke, wever_mandate-draft and wever_ap2-mandate-gateway record authorization to act, wever_negotiation-mandate-check reads one negotiation inside its mandate and wever_authority-scope-check reads an actor inside its granted authority; a goal records the outcome the agent acts toward, a question of intent rather than permission, and neither stands in for the other), not drift in scores or builds (wever_evaluation-drift-check reads evaluation scores and results drifting over time and wever_spec-drift-check a build drifting from its specification; neither is goal drift), not confidence in information (the wever_uncertainty checks; the goal checks read intent and fit), not learning (the wever_learning checks read an agent updating its methods from experience, and methods may change freely; a goal changes only when the principal’s ask changed or the principal approved the change) and not the dates inside one document (wever_deadline-check; the goal checks read a goal and its work over time). 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-goals-contract. Human page: https://weverlabs.com/agent-goals/.

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": {
      "goal": "<goal>",
      "actions": "<actions>"
    },
    "name": "wever_goal-drift-check"
  }
}

Input Schema

NameRequiredDescriptionDefault
goalYesThe goal as recorded.
labelNoOptional name recorded in the report.
actionsYesThe agent’s recorded actions, in order.
run_lengthNoConsecutive off-goal actions that count as drift; 3 when left out.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnlyHint/openWorldHint/destructiveHint annotations, it discloses that nothing is fetched or written, that no goal is set, changed, approved or retired, that the call is paid (0.10 USDC on Base via x402 exact with 10 free signed-wallet calls per rolling 30 days), that X-Wever-Wallet-Proof must bind to the exact JSON arguments and route, and that a report with an Ed25519 signed receipt is returned. This is substantial context an agent could not infer from annotations.

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 text is a dense block that leads with input-shape instructions rather than the tool's purpose, and it repeats the same drift distinction (evaluation-drift-check and spec-drift-check 'neither is goal drift') twice almost verbatim. The pricing, auth binding, contract URL and boundary list are all packed into one run-on paragraph with no structure, so a reader must work to extract the operative facts.

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?

For a nested four-parameter analysis tool with no output schema, the definition covers inputs, the shape of the returned report (per-action status ordering, counts, longest run, earliest divergence), the verdict enumeration, payment and signing requirements, and the boundary against adjacent checks. Nothing needed to call it correctly appears to be missing.

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 100%, so the baseline is 3, but the description goes further by explaining the relationships between fields — a reason is needed when the action was for something else, and who approved it in that case — and by spelling out the meaning of the 'toward' target and the default run_length of 3. It adds interpretive value over the field-level descriptions rather than merely restating them.

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?

The description names a specific verb and resource (reading an agent's recorded goal plus its actions over time to detect drift), enumerates the verdict values (goal_drifted, drift_minor, drift_unmeasured, drift_absent), and explicitly separates itself from wever_evaluation-drift-check and wever_spec-drift-check. An agent can identify this tool without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives explicit when-to-use framing (an agent's actions drifting from its principal's stated objective) and a long list of when-not-to-use cases with the named alternative for each: commitments, coordination plans, mandates/authorization, uncertainty, learning, and deadline checks. Alternatives are named rather than merely implied.

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