Skip to main content
Glama

audit_chronosense_cursor

Deterministically audit an agent's pre-tool write-back cursor and cited physical facts against the authoritative chronosense envelope. Accepts either an envelope object from chronosense_tick or recomputes the envelope directly from { date, lat, lon, turn, prev_date, deadline_date, deadline_label }. Verifies clockId digest match, monotonic turn, explicit nightCrossedAck when local solar midnight elapsed, active deadlineEtaMin within deadline_tolerance_min, and optional citedFacts provenance within fact_tolerance. Returns { ok, driftFlags, correctivePrompt }.

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": {
      "cursor": "<cursor>"
    },
    "name": "audit_chronosense_cursor"
  }
}

Input Schema

NameRequiredDescriptionDefault
latNoLatitude, north positive
lonNoLongitude, EAST positive (Americas are negative)
dateNoUTC ISO date-time (required with lat and lon when envelope is omitted)
turnNoMonotonic agent turn counter when recomputing envelope (default 1)
cursorYesAgent write-back cursor (accepts camelCase or snake_case keys)
envelopeNoAuthoritative envelope object from chronosense_tick (camelCase or snake_case). Omit to recompute from date, lat, and lon.
prev_dateNoOptional previous turn UTC ISO timestamp when recomputing envelope
elevation_mNoObserver elevation above sea level in meters when recomputing envelope (default 0)
deadline_dateNoOptional active task deadline UTC ISO timestamp when recomputing envelope
deadline_labelNoOptional deadline label when recomputing envelope (default 'deadline')
fact_toleranceNoAllowed numeric tolerance for cited_facts provenance checks (default 0.5)
genesis_digestNoOptional session genesis chart digest when recomputing envelope
deadline_tolerance_minNoAllowed drift in minutes for deadline_eta_min (default 5)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does most of it: it enumerates the exact checks performed (clockId digest match, monotonic turn, nightCrossedAck requirement, deadline ETA within tolerance, fact provenance) and discloses the return shape `{ ok, driftFlags, correctivePrompt }`. It never states that the tool is side-effect free or what happens on malformed input, which is the remaining gap for a zero-annotation tool.

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

Conciseness4/5

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

Three dense but front-loaded sentences: purpose, then input mode, then verification list and return shape. The `{ date, lat, lon, turn, ... }` brace enumeration is compact rather than wasteful, though the jargon-heavy phrasing assumes the caller already knows the chronosense vocabulary.

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

Completeness4/5

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

For a 13-parameter tool with a nested cursor object and no output schema, the description supplies the return shape and the verification contract, which is what an agent needs to act on the result. The main omission is what `driftFlags` and `correctivePrompt` actually contain, plus any read-only/idempotency guarantee.

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 would be 3; the description goes beyond it by explaining which cursor fields are cross-checked against which envelope facts and by clarifying that nightCrossedAck is required specifically when local solar midnight elapsed and that tolerances govern the deadline and fact comparisons. It does not explain how the camelCase/snake_case aliases are resolved or the precedence of `envelope` vs. recomputed inputs beyond 'omit'.

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?

States a specific verb (audit) against a specific resource (pre-tool write-back cursor and cited facts vs. the authoritative chronosense envelope) and names `chronosense_tick` as the envelope source, so an agent can distinguish it from the sibling chart/clock tools without opening any schema.

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?

Clearly frames this as a pre-tool / write-back verification step fed by `chronosense_tick`, and gives the two input modes with the condition that selects them ('Omit to recompute from date, lat, and lon'). It stops short of explicit when-not guidance or stating what an agent should do with a failing result.

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.