Skip to main content
Glama

evaluate_spec_axioms

Read-onlyIdempotent

Evaluates an architectural brief against formal determinism rules, checking negative invariants, bounded domains, FSM transitions, and error taxonomy to assign VERIFIED or QUARANTINED status with remediation notes.

Instructions

Evaluate an architectural specification brief (brief_text) against formal determinism rules, requiring at least 5 explicit negative invariants ('never' or 'shall never'), bounded variable domains, deterministic finite-state machine (FSM) transitions, and a 4-class error taxonomy to reach VERIFIED status (aci_score >= 0.9000 and SHA-256 manifest_hash; otherwise QUARANTINED with remediation notes). Use this during intake or planning phases before writing code; for verifying unified git diff patches, use evaluate_patch instead.

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": {
      "brief_text": "<brief_text>"
    },
    "name": "evaluate_spec_axioms"
  }
}

Input Schema

NameRequiredDescriptionDefault
brief_textYesMarkdown content of the architectural intake brief to evaluate (must include negative invariants with 'never'/'shall never', variable bounds, FSM transitions, and error taxonomy)

Output Schema

NameRequiredDescriptionDefault
contentYesJSON-serialized architectural determinism verification report
isErrorYesTrue if brief specification evaluation encountered an unhandled error

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv4.2.1
    • changedInput schema / properties / brief_text / description
      Previous value: -"Markdown content of the architectural intake brief to evaluate"New value: +"Markdown content of the architectural intake brief to evaluate (must include negative invariants with 'never'/'shall never', variable bounds, FSM transitions, and error taxonomy)"
  2. Changed1 schema field changedv3.5.6
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "content": {
      +      "description": "JSON-serialized architectural determinism verification report",
      +      "items": {
      +        "properties": {
      +          "text": {
      +            "description": "JSON report containing aci_score, negative_invariants_count, extracted_never_clauses, status, remediation_notes, and manifest_hash",
      +            "type": "string"
      +          },
      +          "type": {
      +            "enum": [
      +              "text"
      +            ],
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "type",
      +          "text"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "isError": {
      +      "description": "True if brief specification evaluation encountered an unhandled error",
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "content",
      +    "isError"
      +  ],
      +  "type": "object"
      +}
  3. First observedv3.5.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already establish that this is a read-only, idempotent, non-destructive operation, and the description goes well beyond that: it discloses the pass threshold (`aci_score >= 0.9000`), the emitted artifacts (SHA-256 `manifest_hash`), and the failure mode ('QUARANTINED with remediation notes'). That tells the agent what the outcome looks like and that a failure is non-fatal and actionable, which the annotations cannot convey.

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?

Two sentences, front-loaded with the pass criteria and then the routing guidance, so no sentence is filler. The first sentence is very dense with nested parentheticals and backticked tokens, which hurts scannability despite the efficiency.

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 one-parameter, read-only evaluator with an output schema available, this covers what an agent needs: what is checked, when to call it, what result means pass versus quarantine, and where to go otherwise. Return-value explanation is not required given the output schema, so the extra status detail is bonus rather than a gap.

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?

With a single required parameter at 100% schema description coverage, the schema already carries the documentation burden, and the description largely restates the same content requirements. It does add marginal value by framing those requirements as evaluation criteria rather than just input format, but it introduces no new syntax or formatting guidance for `brief_text`.

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 and resource ('Evaluate an architectural specification brief') and enumerates the actual rule set being checked (negative invariants, bounded domains, FSM transitions, 4-class error taxonomy). It also names the sibling it is not, so the agent can separate it from `evaluate_patch` without inspecting either 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?

Gives explicit timing ('during intake or planning phases before writing code') and an explicit exclusion plus the correct alternative ('for verifying unified git diff patches, use `evaluate_patch` instead'). Nothing about when-not-to-use is left to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.