Skip to main content
Glama

ClevSec EU compliance tools

AI agent risk check (exposure and controls)

agent_risk_check
Read-onlyIdempotent

Use when someone asks how risky an AI agent or assistant setup is ('is it safe to let our agent read email and send replies?', 'what are the risks of this agent?'). Call without answers to get 9 questions on what the agent can do and 11 on the controls that limit it. Call with answers to get a 0-100 residual risk score (0 = lowest), a risk level, red flags such as an exfiltration path, and the missing controls with actions and OWASP, GDPR and AI Act references. A self-assessment from the user's answers, not a scan or test of the agent.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "agent_risk_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
answersNoQuestion id to answer. Exposure questions e1-e9: "yes" or "no". Control questions c1-c11: "yes", "partial" or "no". Example: {"e1": "yes", "e2": "yes", "e3": "yes", "c2": "no"}. Unanswered exposure questions count as no; unanswered controls as not in place.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/closed-world, so the bar is lower, and the description adds real behavioral context: the two-mode behavior, the shape of the output (0-100 residual score, risk level, red flags, missing controls with OWASP/GDPR/AI Act references), and the caveat that results are self-reported rather than measured. It stops short of covering validation behavior for malformed or partial answer keys, which is the remaining gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, front-loaded with the trigger condition, then the two modes, then the limitation. No sentence restates the title or the schema; each adds decision-relevant information.

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?

With no output schema, the description carries the return-value burden and does so: it names the question counts, the 0-100 score with direction ('0 = lowest'), the risk level, red flags and remediation references. Combined with the closed-world annotations and a fully documented single parameter, an agent has everything needed to call it correctly.

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 baseline is 3; however the description adds meaning the schema does not — that omitting `answers` entirely is a legitimate discovery mode returning the question set, and that the answer universe spans 9 exposure and 11 control questions. That framing turns an optional object parameter into an understood control flow.

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 states a specific verb and resource — assessing how risky an AI agent/assistant setup is — and anchors it with concrete user phrasings ('is it safe to let our agent read email and send replies?'). It also carves out what the tool is not ('a self-assessment ... not a scan or test'), which separates it from the many assessment siblings such as cyber_risk_score or vendor_risk_assessment.

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 gives explicit when-to-use triggers via example questions and defines two distinct invocation modes: no answers returns the 9 exposure + 11 control questions, with answers returns the scored result. The negation clause steers the agent away from treating this as a technical scan, which is the closest competing interpretation.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources