Skip to main content
Glama

narrate_audit

Converts cryptographic audit certificates into plain-language narratives tailored to executive, legal, technical, or auditor audiences, making validation results understandable.

Instructions

Convert an S-Cert into a human-readable narrative.

Transforms cryptographic audit certificates into plain-language narratives tailored for the target audience.

Args: scert: S-Cert JSON object from a validation run. audience: Target audience — "executive", "legal", "technical", or "auditor". provider: LLM provider override.

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": {
      "scert": "<scert>"
    },
    "name": "narrate_audit"
  }
}

Input Schema

NameRequiredDescriptionDefault
scertYes
audienceNoexecutive
providerNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.2

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries full burden. It does disclose that an LLM is involved via the 'provider' override and that output is audience-tailored, but it says nothing about cost, latency, determinism, whether results are cached or persisted, or what permissions are needed.

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?

The lead sentence is front-loaded and states the transformation crisply; the second sentence adds tailoring detail. The Args block is slightly redundant with the input schema but earns its place by supplying enum values the schema lacks.

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?

An output schema exists, so return values need not be described. Given the nested, free-form scert object, the description adequately explains its origin and the optional provider/audience knobs; only the absence of behavioral details like cost or determinism keeps it short of complete.

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 description coverage is 0%, so the description must compensate, and it does: it documents all three parameters. Most valuably it enumerates the audience values ('executive', 'legal', 'technical', 'auditor') which the schema does not encode as an enum, and explains provider as an LLM override.

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 states a concrete verb and resource: converting an S-Cert into a human-readable narrative, with the input traced to 'a validation run.' This clearly separates it from the validation/sibling tools, which produce or check certificates rather than render them, though no sibling is named explicitly.

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?

Usage is only implied: the phrase 'from a validation run' suggests it follows a validate_payload or conformance_check call. There is no explicit when-to-use/when-not-to-use statement and no mention of whether it replaces or supplements a validation call.

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