Skip to main content
Glama

WhiteMagic — governed local memory for agent continuity

Catuṣkoṭi Answer Contract

sutra.contract
Idempotent

Resolve or verify bounded caller-asserted temporal assertions. Results describe the supplied metadata; this tool does not authenticate sources or enforce native-store sanctuary access.

Input Schema

NameRequiredDescriptionDefault
modeNoContract operation: resolve assertions into facts/citations or verify a candidate proposal (default: resolve)
attestNoReturn an unsigned SHA-256 digest binding the operation, exact request bytes and result; not a signature or CPR receipt
proposalNoCandidate proposal object (for verify mode) with status and claims array
questionNoQuestion object with question_id, query, subject, predicate, valid_at (array of dates), and known_at cutoff
assertionsNoCaller-asserted records with record_id, source_id, subject, predicate, value, valid_from, valid_until, recorded_at, supersedes; exclude when request_json is supplied
request_jsonNoFull raw request JSON; mutually exclusive with assertions, question and proposal

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the annotations, the description discloses two important boundaries: results only 'describe the supplied metadata' and the tool neither authenticates sources nor enforces native-store sanctuary access. That trust-boundary disclosure is genuinely useful and not derivable from the structured fields. It does not, however, explain the attest digest semantics or confirm the idempotent/no-side-effect profile declared in annotations.

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

Conciseness5/5

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

Two lean sentences, both front-loaded: the operation first, then the trust-boundary caveat. No filler, and nothing repeats the schema.

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

Completeness3/5

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

With six parameters, nested objects, and no output schema, the description should say more about what a resolve result contains (facts/citations) and what attest returns; currently only the schema carries that. The disclaimer sentence is valuable, but the tool's central contract behavior remains under-explained for its complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, covering mode, attest, proposal, question, assertions, and request_json in more detail than the description does. The description adds no syntax, mutual-exclusivity, or format guidance beyond what the schema already states, so baseline 3 is appropriate.

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 names a specific verb pair (resolve/verify) and a specific resource ('bounded caller-asserted temporal assertions'), so an agent knows the operation class. However, it gives no hint of how it differs from close siblings such as sutra.canon, sutra.route, or memory.temporal_query, and the title 'Catuṣkoṭi Answer Contract' adds opacity rather than clarity.

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

Usage Guidelines3/5

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

The two modes imply when each applies, and the schema clarifies that 'verify' consumes a proposal, but the description itself states no selection criteria between resolve and verify and no when-not/exclusions against the many adjacent sutra.* and memory.* temporal tools. Usage is inferable rather than stated.

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