Skip to main content
Glama
Systemores AI Agent & MCP Security Auditor

Systemores AI Agent & MCP Security Auditor

Export Regulatory Compliance Dossier

systemores_export_dossier

Compile audit findings and transient evidence into a signed, localized compliance dossier with hash, verification link, and SVG badge for EU AI Act, NIST AI RMF, EEOC/ECOA, and SOC 2 AI.

Instructions

Compiles audit findings and optional transient evidence (systemPrompt, toolDefinitionsJson, graphTopologyJson, otelTraceJson, liveAuditMetricsJson) into a signed, localized (en, es, de, fr, pt, ja, zh) compliance dossier with SHA-256 hash, verification link, and SVG badge for EU AI Act, NIST AI RMF 1.0, EEOC/ECOA, and SOC 2 AI. Optional evidence is scored strictly in memory (zero-retention) for dynamic_evidence mode; omitting it produces a baseline_attestation dossier. Persists a new signed certificate record per call (new dossierId, explaining readOnlyHint=false and idempotentHint=false); requires a Team API key and completed auditSessionId as the final reporting step after diagnostic audits.

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": {
      "auditSessionId": "<auditSessionId>"
    },
    "name": "systemores_export_dossier"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleNoOptional operational role of the target agent when evaluating systemPrompt (defaults to 'general_developer').
localeNoTarget language code for human-readable dossier prose and executive summary (en, es, de, fr, pt, ja, zh; supports BCP-47 tags like pt-BR or zh-CN; canonical JSON fields and SHA-256 hash remain invariant). Defaults to 'en'.en
companyNameNoLegal entity or client name for dossier attribution.Enterprise Client
systemPromptNoOptional agent system prompt evaluated strictly in memory (never stored) to compute differentiated per-framework scores via Murray Needs-Press, drift, bias, and tool-discipline diagnostics. Maximum 8,000 characters.
otelTraceJsonNoOptional OpenTelemetry span payload evaluated strictly in memory for token burn, loop, and latency scoring.
auditSessionIdYesUnique identifier for the completed audit session (used to attribute the signed dossier certificate).
targetFrameworksNoComma-separated list of regulatory frameworks to generate formal dossier sections for: 'eu_ai_act', 'nist_ai_rmf', 'eeoc_ecoa', 'soc2_ai'. Defaults to all if omitted.
graphTopologyJsonNoOptional JSON multi-agent delegation graph containing nodes and edges evaluated strictly in memory for cycle and privilege boundary scoring.
toolDefinitionsJsonNoOptional JSON array of MCP tool definitions evaluated strictly in memory (never stored) under strictMode to score SOC 2 AI and NIST AI RMF tool governance.
liveAuditMetricsJsonNoOptional JSON object of transient audit metrics (healthIndex 0-100, sycophancyProbability 0-1, personaStabilityIndex 0-1, averageDriftIndex 0-1, toolIntegrityScore 0-100) from preceding tool calls.

Output Schema

NameRequiredDescriptionDefault
localeNo
dossierIdYes
timestampYes
badgeSvgUrlYes
companyNameYes
scoringModeYes
overallScoreYes
badgeMarkdownYes
engineVersionYes
auditSessionIdYes
dossierMarkdownYes
frameworkScoresYes
verificationUrlYes
executiveSummaryYes
certificationStatusYes
frameworksEvaluatedYes
sha256IntegrityHashYes
zeroRetentionVerifiedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.2.2
    • changedInput schema / properties / auditSessionId / description
      Previous value: -"Unique identifier for the completed audit session."New value: +"Unique identifier for the completed audit session (used to attribute the signed dossier certificate)."
    • changedInput schema / properties / locale / description
      Previous value: -"Optional ISO-639-1 / BCP-47 language tag (normalized to 'en', 'es', 'de', 'fr', 'pt', 'ja', 'zh') for localized dossier narrative and verification card labels. Defaults to 'en'."New value: +"Target language code for human-readable dossier prose and executive summary (en, es, de, fr, pt, ja, zh; supports BCP-47 tags like pt-BR or zh-CN; canonical JSON fields and SHA-256 hash remain invariant). Defaults to 'en'."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "auditSessionId": {
      +      "type": "string"
      +    },
      +    "badgeMarkdown": {
      +      "type": "string"
      +    },
      +    "badgeSvgUrl": {
      +      "type": "string"
      +    },
      +    "certificationStatus": {
      +      "enum": [
      +        "CERTIFIED",
      +        "CONDITIONAL_APPROVAL",
      +        "NON_COMPLIANT"
      +      ],
      +      "type": "string"
      +    },
      +    "companyName": {
      +      "type": "string"
      +    },
      +    "dossierId": {
      +      "type": "string"
      +    },
      +    "dossierMarkdown": {
      +      "type": "string"
      +    },
      +    "engineVersion": {
      +      "type": "string"
      +    },
      +    "executiveSummary": {
      +      "type": "string"
      +    },
      +    "frameworkScores": {
      +      "type": "object"
      +    },
      +    "frameworksEvaluated": {
      +      "type": "array"
      +    },
      +    "locale": {
      +      "type": "string"
      +    },
      +    "overallScore": {
      +      "type": "integer"
      +    },
      +    "scoringMode": {
      +      "enum": [
      +        "dynamic_evidence",
      +        "baseline_attestation"
      +      ],
      +      "type": "string"
      +    },
      +    "sha256IntegrityHash": {
      +      "type": "string"
      +    },
      +    "timestamp": {
      +      "type": "string"
      +    },
      +    "verificationUrl": {
      +      "type": "string"
      +    },
      +    "zeroRetentionVerified": {
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "dossierId",
      +    "timestamp",
      +    "companyName",
      +    "auditSessionId",
      +    "frameworksEvaluated",
      +    "certificationStatus",
      +    "executiveSummary",
      +    "frameworkScores",
      +    "overallScore",
      +    "scoringMode",
      +    "engineVersion",
      +    "zeroRetentionVerified",
      +    "sha256IntegrityHash",
      +    "verificationUrl",
      +    "badgeSvgUrl",
      +    "badgeMarkdown",
      +    "dossierMarkdown"
      +  ],
      +  "type": "object"
      +}
  2. Changed7 schema fields changedv1.2.0
    • addedInput schema / properties / graphTopologyJson
      Added value: +{
      +  "description": "Optional JSON multi-agent delegation graph containing nodes and edges evaluated strictly in memory for cycle and privilege boundary scoring.",
      +  "type": "string"
      +}
    • addedInput schema / properties / liveAuditMetricsJson
      Added value: +{
      +  "description": "Optional JSON object of transient audit metrics (healthIndex 0-100, sycophancyProbability 0-1, personaStabilityIndex 0-1, averageDriftIndex 0-1, toolIntegrityScore 0-100) from preceding tool calls.",
      +  "type": "string"
      +}
    • addedInput schema / properties / locale
      Added value: +{
      +  "default": "en",
      +  "description": "Optional ISO-639-1 / BCP-47 language tag (normalized to 'en', 'es', 'de', 'fr', 'pt', 'ja', 'zh') for localized dossier narrative and verification card labels. Defaults to 'en'.",
      +  "pattern": "^([eE][nN]|[eE][sS]|[dD][eE]|[fF][rR]|[pP][tT]|[jJ][aA]|[zZ][hH])([-_][a-zA-Z0-9]{2,8}){0,3}$",
      +  "type": "string"
      +}
    • addedInput schema / properties / otelTraceJson
      Added value: +{
      +  "description": "Optional OpenTelemetry span payload evaluated strictly in memory for token burn, loop, and latency scoring.",
      +  "type": "string"
      +}
    • addedInput schema / properties / role
      Added value: +{
      +  "description": "Optional operational role of the target agent when evaluating systemPrompt (defaults to 'general_developer').",
      +  "enum": [
      +    "customer_support",
      +    "financial_underwriter",
      +    "medical_assistant",
      +    "general_developer"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / systemPrompt
      Added value: +{
      +  "description": "Optional agent system prompt evaluated strictly in memory (never stored) to compute differentiated per-framework scores via Murray Needs-Press, drift, bias, and tool-discipline diagnostics. Maximum 8,000 characters.",
      +  "type": "string"
      +}
    • addedInput schema / properties / toolDefinitionsJson
      Added value: +{
      +  "description": "Optional JSON array of MCP tool definitions evaluated strictly in memory (never stored) under strictMode to score SOC 2 AI and NIST AI RMF tool governance.",
      +  "type": "string"
      +}
  3. First observedv1.1.3

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations, the description discloses that every call persists a new signed certificate with a new dossierId, and explicitly explains why readOnlyHint=false and idempotentHint=false — a rare and useful justification. It also discloses the zero-retention, in-memory-only handling of transient evidence and the auth requirement, which are the facts an agent needs before invoking a non-idempotent mutation.

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 purpose and framework scope are front-loaded and every clause carries information: modes, persistence, auth, sequencing. It is dense to the point of being a single packed block with heavy parentheticals, which slightly hurts scanability even though little is wasted.

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 10-parameter, non-idempotent export tool with an output schema, the description covers the remaining gaps: auth, sequencing, mode selection, retention behavior, and the reason for the annotation flags. Return values need not be explained because an output schema exists, so nothing an agent needs before calling is missing.

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 100%, so the per-parameter descriptions already carry the detail and the baseline is 3. The description still adds genuine meaning above the schema by framing the optional JSON payloads as a category ('transient evidence') and by tying their presence or absence to distinct dossier modes, which the schema does not express.

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?

The description names a specific verb (compiles) and a concrete artifact (a signed, localized compliance dossier with SHA-256 hash, verification link, and SVG badge) across four named frameworks. It also distinguishes itself from the diagnostic siblings by positioning itself as 'the final reporting step after diagnostic audits', so an agent can tell it is the terminal export rather than another audit pass.

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

Usage Guidelines4/5

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

It states a clear precondition (Team API key, completed auditSessionId) and sequencing ('final reporting step after diagnostic audits'), plus a mode-selection rule: supplying optional evidence yields a dynamic_evidence dossier, omitting it yields baseline_attestation. It stops short of explicitly naming a sibling or an exclusion case, which keeps it at 4 rather than 5.

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