Skip to main content
Glama
ComplyEdge

ComplyEdge TrustLint

Official

scan_prompt

Read-onlyIdempotent

Scan a candidate prompt against offline EU AI Act Article 5 and 50 regex rules before sending it to a model, returning SAFE or RISK_DETECTED with cited findings.

Instructions

EU AI Act Article 5 and Article 50. TrustLint offline regex: not the hosted policy engine, not a system classifier. Scan an AI prompt with ComplyEdge TrustLint offline YAML rules (regex corpus) before generation : pre-generation only. Use when the prompt is about to be sent; for post-hoc evaluation of already-produced text, use check_compliance. Argument prompt must be a non-empty candidate prompt about to be sent to a model (empty/whitespace is rejected; not already-produced output). This tool has no jurisdiction filter : it always evaluates the full bundled corpus. Runs fully offline : no network call, no API key, no credentials stored, no writes outside the process, read-only and idempotent; regex match against the bundled corpus; does not classify AI-system risk tiers or call any remote API. Returns SAFE or RISK_DETECTED with cited findings from the offline regex corpus.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYesNon-empty candidate prompt about to be sent to a model (pre-generation). Empty/whitespace is rejected; not already-produced output.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
risksNo
statusYes
messageNo
recommendationNo
rules_evaluatedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already mark it read-only and idempotent, but the description goes well beyond them: runs fully offline, no network call, no API key, no stored credentials, no writes outside the process, no jurisdiction filter, and it does not classify risk tiers or call remote APIs. This is exactly the extra behavioral context annotations cannot convey.

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 and scope are front-loaded in the first two sentences, which is the right structure. It loses a point for run-on colon/dash chaining and for repeating the offline/no-network point three separate times.

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?

An output schema exists, so return shape need not be documented, yet the description still signals the SAFE / RISK_DETECTED outcome and that findings are cited. For a one-parameter scanner every call-time decision an agent needs — when, with what input, under what exclusions — is covered.

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 coverage is 100% and the single parameter's schema description already states the non-empty, pre-generation, not-already-produced-output rules. The description largely restates that same constraint ('must be a non-empty candidate prompt about to be sent to a model (empty/whitespace is rejected)') rather than adding syntax, format, or size guidance, so baseline 3 applies.

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 opening states a specific verb and resource — scanning an AI prompt against the offline TrustLint regex corpus — and immediately delimits what it is not (not the hosted policy engine, not a system classifier). It is trivially distinguishable from list_rules and check_compliance without opening either 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?

Explicit timing rule ('Use when the prompt is about to be sent') plus an explicit exclusion and named alternative ('for post-hoc evaluation of already-produced text, use check_compliance'). The pre-generation-only constraint is stated twice, leaving nothing to inference.

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

Deploy Server

Other Tools