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

Systemores AI Agent & MCP Security Auditor

Evaluate Multi-Turn Behavioral Drift

systemores_evaluate_drift
Read-only

Predict persona decay and output drift across simulated turns and temperatures, returning drift scores and a predicted failure turn to estimate long-session policy decay before deployment.

Instructions

Projects multi-turn persona decay and output drift from a static systemPrompt across simulated turns (1–100) and LLM temperature (0.0–1.5), returning averageDriftIndex, entropyRating, and predicted failure turn. Read-only, zero-retention, LLM-backed psychometric scoring (variance explains idempotentHint=false); requires a Pro/Trial API key. Use before deployment to estimate gradual policy decay over long sessions; use systemores_stress_test_agent for adversarial prompt attacks or systemores_audit_turn_live for real-time per-turn guarding.

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>"
    },
    "name": "systemores_evaluate_drift"
  }
}

Input Schema

NameRequiredDescriptionDefault
turnsNoThe number of conversational turns to simulate (1–100).
temperatureNoThe LLM temperature parameter for the target agent (0.0–1.5). Higher values increase drift probability.
systemPromptYesThe target agent's system prompt. Maximum 8,000 characters.

Output Schema

NameRequiredDescriptionDefault
entropyRatingYes
turnsEvaluatedYes
averageDriftIndexYes
derivedPsychometricsNo
failurePointDetectedYes
estimatedDeviationAngleDegreeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.2.2
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "averageDriftIndex": {
      +      "type": "number"
      +    },
      +    "derivedPsychometrics": {
      +      "type": "object"
      +    },
      +    "entropyRating": {
      +      "enum": [
      +        "HIGH",
      +        "CONTROLLED"
      +      ],
      +      "type": "string"
      +    },
      +    "estimatedDeviationAngleDegree": {
      +      "type": "integer"
      +    },
      +    "failurePointDetected": {
      +      "type": "string"
      +    },
      +    "turnsEvaluated": {
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "turnsEvaluated",
      +    "averageDriftIndex",
      +    "entropyRating",
      +    "failurePointDetected",
      +    "estimatedDeviationAngleDegree"
      +  ],
      +  "type": "object"
      +}
  2. First observedv1.1.3

TDQS

A4.6/5.0
Behavior5/5

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

Adds substantial context beyond the annotations: zero-retention data handling, an LLM-backed scoring backend, a Pro/Trial API key requirement, and an explicit rationale tying run-to-run variance to idempotentHint=false. The auth prerequisite and retention policy are exactly the kind of operational facts annotations cannot carry.

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?

Front-loaded with the core projection statement, then behavior, then routing — a logical order. The single long sentence with semicolons is dense but every clause carries information; the parenthetical explaining idempotency earns its place. Slightly heavier than needed for scanning, but 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?

Output schema exists, so the description need not enumerate return values in depth, and annotations cover the safety profile. Combined with auth requirements, retention policy, simulation bounds, and sibling routing, an agent has everything needed to select and invoke correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so all three parameters are already documented, and the description largely restates the ranges (1–100 turns, 0.0–1.5 temperature) rather than adding format or interaction detail. The phrase 'static systemPrompt' clarifies the input is treated as fixed across the simulation, which is the one marginal addition. Baseline 3 is appropriate.

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 — 'projects multi-turn persona decay and output drift from a static systemPrompt' — with concrete simulation axes (turns 1–100, temperature 0.0–1.5) and named outputs. An agent can distinguish this immediately from stress_test_agent and audit_turn_live without opening the 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 an explicit when: 'use before deployment to estimate gradual policy decay over long sessions.' Gives explicit alternatives with their distinct conditions: systemores_stress_test_agent for adversarial prompt attacks, systemores_audit_turn_live for real-time per-turn guarding. Nothing is left to infer about tool selection.

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