Skip to main content
Glama

AINumbers Fintech Intelligence Suite

Event Contract Terms Lint

lint_event_contract_terms
Read-onlyIdempotent

Event Contract Terms Lint: OpenChainGraph compute node (compliance_control). Deterministic OpenChainGraph compute node. By default (compute:"auto") inputs are computed server-side on Cloudflare Workers for gpu:false nodes with a registered kernel; compute:"browser" forces client-side execution and returns a browser delegation URL instead. gpu:true nodes always delegate to the browser. Inputs are processed transiently to compute the response and are not stored, logged, or retained. Use synthetic or anonymised inputs only. Exports an AP2 artifact with execution_hash for chain provenance. Open at: https://ainumbers.co/chaingraph/806-event-contract-terms-lint.html FV-status (published/proven/still-trusted for this spec): /fv-status/565f2dd45a55e0ff0f8dafde8c1080f9e1484b32a5aaa96f4d7739a236b9258a.json — a snapshot, not a subscription; this receipt verifies offline regardless of whether that file is ever fetched. Summary: Lints a prediction-market event contract's declared settlement terms (source agency, fallbacks, revision rule, discretion, dispute window, outcome review, early close) against a caller-declared policy. Outputs: refused, reason_code, field, profile_id, profile_venue_label, as_of, contract_label, findings, evaluated_items, verdict, issues. Output schema: call describe_tool("lint_event_contract_terms").

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "lint_event_contract_terms"
  }
}

Input Schema

NameRequiredDescriptionDefault
computeNoCompute mode (v0.4 Compute Binding). "auto" (default) = server for gpu:false nodes with registered kernels; "server" = force server-side; "browser" = always return browser delegation URL. gpu:true nodes always delegate.
parent_hashesNoexecution_hash values from upstream ChainGraph AP2 artifacts to chain from (sets chain.parent_hashes in the export).
parent_tool_idsNotool_id values matching parent_hashes, in the same order.
policy_parametersNoInput parameters for this tool's decision function. For gpu:false nodes with a registered kernel, these are computed server-side when compute is "auto" or "server". Required: profile, as_of, terms. Unknown keys are refused.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, and the description is consistent with a read-only deterministic compute node. Beyond the annotations it adds genuinely useful behaviour: the node is deterministic, execution happens server-side on Cloudflare Workers versus a browser delegation URL depending on compute mode and gpu flag, inputs are processed transiently and not stored or logged, an AP2 artifact with execution_hash is exported for chain provenance, and unknown policy keys are refused. It does not contradict the 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 description is poorly front-loaded: it opens with name/title restatement and a long compute-mode paragraph that duplicates the compute parameter's schema description, then a full URL, then a 64-character FV-status hash URL, before finally stating the tool's actual job under 'Summary:'. The core purpose and output field list are crammed into the last two lines. Content is largely useful but the ordering wastes an agent's attention.

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?

With no output schema, the description compensates by enumerating the return fields (refused, reason_code, field, profile_id, profile_venue_label, as_of, contract_label, findings, evaluated_items, verdict, issues) and pointing to describe_tool for the full schema. It also covers provenance chaining, refusal semantics, and data-handling constraints. Remaining gaps are the shape of the nested terms/policy inputs and the meaning of verdict versus refused, which is minor for a node with rich structured fields.

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%, so all four parameters are already documented, including the compute enum and the parent_hashes/parent_tool_ids pairing. The description adds little semantic depth: it restates the required policy keys (profile, as_of, terms) that the schema already labels, and does not explain the expected shape of the nested 'terms' or 'policy' objects, which is the real ambiguity for a nested schema like this. 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 eventually states a specific verb and object: lints a prediction-market event contract's declared settlement terms (source agency, fallbacks, revision rule, discretion, dispute window, outcome review, early close) against a caller-declared policy. That is far more specific than the name alone. It does not, however, distinguish itself from neighbouring tools such as analyze_prediction_market or validate_cat_bond_trigger_terms, and the actual purpose only appears in the final 'Summary:' sentence after several paragraphs of compute-mode boilerplate.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance, and no alternative tool is named anywhere in the description. The only directive-like sentence is the privacy constraint 'Use synthetic or anonymised inputs only', which is an input constraint rather than a routing rule. An agent must infer from the tool name and the sibling list when this lint applies versus a general prediction-market analysis tool.

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.