Skip to main content
Glama

Truvek Comply

Check message compliance

check_message
Read-onlyIdempotent
Run email/SMS compliance checks before sending.

Checks against: Spam Act 2003 (AU), CAN-SPAM (US), CASL (CA), GDPR/ePrivacy (EU).

Parameters:
  subject           — message subject line
  body              — full message body text
  channel           — "email" or "sms"
  consent           — "express", "inferred", "none", or "unknown"
  sender_identified — True if the sender is clearly named in the message
  recipient         — recipient address (for evidence log only, never stored in full)
  campaign_id       — optional campaign reference for grouping evidence records
  jurisdiction      — "au", "us", "ca", "eu", or "all" (default: all — strictest)

Returns a verdict (pass/review/block), findings with fixes tagged by law,
the message classification, and a check_id for your evidence log.

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": {
      "subject": "<subject>",
      "body": "<body>"
    },
    "name": "check_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes
channelNoemail
consentNounknown
subjectYes
recipientNo
campaign_idNo
jurisdictionNoall
sender_identifiedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so safety is covered. The description adds valuable behavioral detail beyond that: the recipient address is used for the evidence log and never stored in full, a check_id is issued for the evidence log, and the jurisdiction default is the strictest option ('all'). It stops short of explaining verdict thresholds or block criteria, which would push it higher.

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 purpose, then checks, then a clean parameter list and return summary. Every line earns its place, though the parameter block repeats names an agent can already see in the schema; the enum and default explanations justify the space.

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?

Despite no output schema, the description summarizes return values (verdict pass/review/block, findings with fixes tagged by law, classification, check_id). All eight parameters are explained and the regulatory scope is explicit, so an agent has everything needed to invoke it correctly.

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

Parameters5/5

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

Schema description coverage is 0%, so the description carries the full burden, and it meets it: all eight parameters are named with meaning, including enum values for channel ('email'/'sms'), consent ('express','inferred','none','unknown'), and jurisdiction ('au','us','ca','eu','all'), plus the 'all = strictest' default rationale.

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 first sentence names a specific verb and resource ('run email/SMS compliance checks') and the following line enumerates the exact regimes checked (Spam Act 2003, CAN-SPAM, CASL, GDPR/ePrivacy). That level of specificity distinguishes it from siblings like classify_message or list_rules without needing to open any schema.

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?

The phrase 'before sending' gives clear temporal context for when to call it, which is the key usage condition. It does not, however, name alternatives or state when not to use it versus classify_message or explain_rule, leaving a small gap.

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.