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

Systemores AI Agent & MCP Security Auditor

Assess Regulatory & Demographic Bias

systemores_assess_bias
Read-only

Statically analyze a system prompt for demographic bias, proxy-variable leakage, and regulatory risks under one selected compliance domain: EEOC, fair housing, ECOA, COPPA, or EU AI Act.

Instructions

Statically analyzes a supplied systemPrompt (not a live agent) for demographic bias, proxy-variable leakage, and regulatory risks under one selected complianceDomain (employment_eeoc, housing_fair, lending_ecoa, children_coppa, or eu_ai_act). Read-only, zero-retention, LLM-backed scoring (variance explains idempotentHint=false); requires a Pro/Trial API key. Use for single-domain legal fairness auditing; use systemores_stress_test_agent for general adversarial resilience or systemores_export_dossier for multi-framework signed compliance reports.

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": {
      "systemPrompt": "<systemPrompt>",
      "complianceDomain": "<complianceDomain>"
    },
    "name": "systemores_assess_bias"
  }
}

Input Schema

NameRequiredDescriptionDefault
systemPromptYesThe underwriting, hiring, housing, or EU AI Act high-risk agent system prompt to evaluate. Maximum 8,000 characters.
complianceDomainYesThe legal compliance framework to evaluate against (employment, housing, lending, COPPA child safety, or EU AI Act 2024/1689).

Output Schema

NameRequiredDescriptionDefault
frameworkYes
riskRatingYes
nonComplianceFlagsYes
derivedPsychometricsNo
mitigationInstructionsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.2.2
    • changedInput schema / properties / complianceDomain / description
      Previous value: -"The legal compliance framework to evaluate against (employment, housing, lending, COPPA child safety, or EU AI Act)."New value: +"The legal compliance framework to evaluate against (employment, housing, lending, COPPA child safety, or EU AI Act 2024/1689)."
    • changedInput schema / properties / systemPrompt / description
      Previous value: -"The underwriting, hiring, housing, or EU AI Act agent system prompt to evaluate (supports multilingual prompts). Maximum 8,000 characters."New value: +"The underwriting, hiring, housing, or EU AI Act high-risk agent system prompt to evaluate. Maximum 8,000 characters."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "derivedPsychometrics": {
      +      "type": "object"
      +    },
      +    "framework": {
      +      "type": "string"
      +    },
      +    "mitigationInstructions": {
      +      "type": "string"
      +    },
      +    "nonComplianceFlags": {
      +      "type": "array"
      +    },
      +    "riskRating": {
      +      "enum": [
      +        "LOW",
      +        "MEDIUM",
      +        "HIGH"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "framework",
      +    "riskRating",
      +    "nonComplianceFlags",
      +    "mitigationInstructions"
      +  ],
      +  "type": "object"
      +}
  2. Changed3 schema fields changedv1.2.0
    • changedInput schema / properties / complianceDomain / description
      Previous value: -"The legal compliance framework to evaluate against (employment, housing, lending, or COPPA child safety)."New value: +"The legal compliance framework to evaluate against (employment, housing, lending, COPPA child safety, or EU AI Act)."
    • changedInput schema / properties / complianceDomain / enum
      Previous value: -[
      -  "employment_eeoc",
      -  "housing_fair",
      -  "lending_ecoa",
      -  "children_coppa"
      -]New value: +[
      +  "employment_eeoc",
      +  "housing_fair",
      +  "lending_ecoa",
      +  "children_coppa",
      +  "eu_ai_act"
      +]
    • changedInput schema / properties / systemPrompt / description
      Previous value: -"The underwriting, hiring, or housing agent system prompt to evaluate. Maximum 8,000 characters."New value: +"The underwriting, hiring, housing, or EU AI Act agent system prompt to evaluate (supports multilingual prompts). Maximum 8,000 characters."
  3. First observedv1.1.3

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations it discloses non-obvious behavior: zero data retention, that scoring is LLM-backed and therefore non-deterministic (explaining idempotentHint=false), and that a Pro/Trial API key is required — an auth prerequisite the annotations do not carry. It also notes the input is a static prompt, not a live agent, preventing a wrong-mode invocation.

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?

Purpose is front-loaded and every clause carries information (scope, mode, retention, auth, routing). It is densely packed into one long sentence with nested parentheticals, which slightly hurts scanability, but there is essentially no filler.

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 two-parameter, single-shot analysis tool with a full output schema and rich annotations, the description covers everything an agent needs: what it evaluates, what it does not (live agents, multi-framework), the auth tier, retention posture, and where to go for adjacent needs.

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 baseline is 3, and the description adds one piece of genuine meaning beyond the schema: "one selected complianceDomain," which signals that a single framework must be chosen per call rather than combining several. The enumerated domain values and the 8,000-character limit are already in the schema, so no further credit is warranted.

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 opens with a specific verb and resource: "Statically analyzes a supplied systemPrompt (not a live agent) for demographic bias, proxy-variable leakage, and regulatory risks under one selected complianceDomain." It scopes the analysis to a single named compliance framework and explicitly clarifies that the input is a static prompt rather than a running agent, which distinguishes it from live-traffic siblings like systemores_audit_turn_live.

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?

It states the intended use ("single-domain legal fairness auditing") and names two alternatives with the conditions that select them: stress_test_agent for general adversarial resilience, export_dossier for multi-framework signed reports. An agent can route correctly without inspecting sibling schemas.

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