Skip to main content
Glama

audit_reading_response

Audit AI-generated BaZi/Ziwei readings against valid fact and citation IDs, separating facts, sources, interpretations, and uncertainty while blocking fabricated citations, flagging high-risk claims.

Instructions

Audit an AI-generated BaZi/Ziwei reading draft against deterministic fact IDs and verified corpus entry IDs. Enforces 4-tier separation (fact / source / interpretation / uncertain), blocks fabricated citations, downgrades background_only or example-only generalizations, and flags high-risk absolute medical/financial/marriage claims.

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": {
      "sections": "<sections>"
    },
    "name": "audit_reading_response"
  }
}

Input Schema

NameRequiredDescriptionDefault
sectionsYes
valid_fact_idsNoFact IDs from cast_bazi_chart / cast_ziwei_chart
valid_entry_idsNoEntry IDs from verify_classical_claim

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/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 substantial work: it discloses that fabricated citations are blocked, background_only/example-only generalizations are downgraded, and high-risk absolute medical/financial/marriage claims are flagged. It does not state whether the draft is mutated in place or a report is returned, which leaves one meaningful behavioral gap.

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 verb and target, followed by a compact list of enforced rules. Dense but every clause adds information; no filler.

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?

For a nested-schema validator with no annotations and no output schema, the description explains the validation logic but omits what the audit returns (violations list, corrected draft, pass/fail) and how the caller should react to flags. Adequate but with a clear gap on the result contract.

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 67%, and the description compensates well: the '4-tier separation (fact / source / interpretation / uncertain)' maps to the `kind` enum, 'blocks fabricated citations' explains `basis_fact_ids`/`basis_entry_ids` against `valid_*_ids`, and the downgrade language explains `support_status: background_only` and `based_on_example_only`. Only the nested `conditions` objects remain unaddressed.

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 object: 'Audit an AI-generated BaZi/Ziwei reading draft', qualified by what it audits against (deterministic fact IDs, verified corpus entry IDs). It is clearly distinguishable from siblings like verify_classical_claim or cast_bazi_chart, which produce rather than audit data.

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 phrase 'AI-generated reading draft' implies this is a post-generation validation step, but the description never says when to call it versus verify_classical_claim or cast_*_chart, nor any preconditions. Usage is inferable but not stated.

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