Skip to main content
Glama

compliance_country_rules

The versioned country rules the gates apply: for each country its tier (allow_footer = opt-out country, allowed with sender details and an unsubscribe link; allow_with_source = only published, role-relevant addresses; conditional; block = prior consent required; block_unverified = consent required until the rules are verified) and the extra conditions (options). Unlisted countries get default_tier. Use it to plan which markets a campaign can reach before building it. Not legal advice.

Method: GET /api/v1/compliance/country-rules/

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_country_rules"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden. It does disclose useful behavior: the rules are versioned, unlisted countries fall back to `default_tier`, and the GET endpoint implies a safe read. It does not say which version is returned, how often rules change, or whether an auth/plan prerequisite applies, leaving real gaps for an annotation-free tool.

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 resource and the meaning of each tier, then the usage hint and the non-legal-advice caveat. The long parenthetical enumerating five tier meanings is dense and reads as a single run-on sentence, but each clause defines behavior the agent would otherwise have to guess.

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

Completeness3/5

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

There is no output schema, so the description must explain the return values, and it does so at a high level (tier per country, `options`, `default_tier`). It omits the concrete response shape, version identifier, and whether the payload is cached or paginated, which leaves an agent guessing about structure after the call.

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?

The tool takes zero parameters, so there is no parameter semantics to compensate for; the baseline applies. The description instead spends its words explaining the shape of the result (tiers, `options`, `default_tier`), which is the useful equivalent here.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a concrete resource: versioned country compliance rules with per-country tiers and extra options, plus a fallback (`default_tier`) for unlisted countries. It lacks an explicit verb ("List"/"Get") and never names a sibling to contrast with, but an agent can tell this is a reference-data lookup distinct from the decision/LIA tools.

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?

It gives clear usage context: "Use it to plan which markets a campaign can reach before building it," which tells the agent the appropriate moment to call it. It does not state exclusions or point to alternatives (e.g., where to get per-decision results instead), so it stops short of full routing guidance.

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.