Skip to main content
Glama

compliance_decisions_list

Every warn/block a compliance gate produced for this workspace, plus one allow row per sent message (proof the check ran). Use it to answer "why wasn't this lead emailed?": filter by lead or campaign. Each row carries explanation ({why, fix}) for its reason code. Newest first.

Method: GET /api/v1/workspaces/{workspace_sqid}/compliance-decisions/

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": "compliance_decisions_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
gateNoGate name (country, suppression, …).
leadNoLead sqid.
limitNoNumber of results to return per page.
sinceNoISO date or datetime; rows at or after it.
stageNogenerate, approve, send, preflight, activate…
offsetNoThe initial index from which to return the results.
resultNoallow, warn or block.
messageNoMessage sqid.
campaignNoCampaign sqid.
reason_codeNoReason code, e.g. consent_required.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

No annotations exist, so the description carries the full burden, and it does meaningful work: it discloses that the result set is not failures-only (one allow row per sent message), that each row carries an explanation object with why/fix fields, and that ordering is newest first. It still omits auth/permission requirements and rate or volume limits, which matters for a 10-parameter list across a whole workspace.

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 what the tool returns, then the motivating question, then row contents, then ordering, then the HTTP method. Nothing is wasted, though the trailing 'Method: GET ...' line is redundant with the list semantics and could be trimmed.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only list with no output schema and no annotations, the description covers the essentials: what rows appear, why allow rows exist, what each row contains via explanation, ordering, and the underlying endpoint. Missing are default page size and permission assumptions, which an agent may need to call it 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 every parameter is already documented; the description adds only that lead and campaign are the entry points for the primary use case. It does not explain how filters combine, what defaults apply to limit/offset, or how since interacts with gate/stage, so it stays at the baseline for a fully-documented schema.

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 precise resource and scope: warn/block rows from compliance gates plus one allow row per sent message, scoped to the workspace. The parenthetical 'proof the check ran' clarifies what the allow rows are, and the phrase 'why wasn't this lead emailed?' frames the exact question it answers, which separates it from sibling tools like consents_list or suppressions_list.

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?

Gives concrete usage context ('Use it to answer "why wasn't this lead emailed?"') and names the two most productive filters, lead and campaign. It stops short of explicit when-not guidance or naming an alternative sibling for related questions, so it is clear but not complete.

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.