Skip to main content
Glama
Hermoso

Hermoso

Official

Check ad policy

check_ad_policy

Checks ad copy against Meta's live Advertising Standards and returns a pass, fix, or block verdict, quoting the exact policy text violated plus a compliant rewrite.

Instructions

Pre-flight ad copy against Meta's REAL, live Advertising Standards before you run it — a flat 1-credit check. Pulls Meta's actual policy pages and returns a verdict (pass / fix / block) where every flagged issue QUOTES Meta's own policy text verbatim plus a compliant rewrite that keeps the sell. It's a check, not an edit — it never changes the creative. Especially worth running for regulated-adjacent categories (health/supplements, weight-loss or beauty results claims, finance/crypto/insurance, alcohol, dating, gambling) or ANY strong/absolute/guaranteed claim.

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": {
      "copy": "<copy>"
    },
    "name": "check_ad_policy"
  }
}

Input Schema

NameRequiredDescriptionDefault
copyYesthe ad copy / script / on-screen text to check
claimsNothe claims / proof points the ad makes
categoryNothe product category — helps pick the relevant policy pages
get_costNotrue: return the price only; nothing runs or bills
idempotency_keyNochosen once, resent unchanged on retries: the same key never buys twice
expected_creditsNothe get_cost price; refused unbilled if the live price differs
imageDescriptionNoa description of the creative / image when relevant

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.1.532
    • addedInput schema / properties / expected_credits
      Added value: +{
      +  "description": "the get_cost price; refused unbilled if the live price differs",
      +  "type": "number"
      +}
    • addedInput schema / properties / get_cost
      Added value: +{
      +  "description": "true: return the price only; nothing runs or bills",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / idempotency_key
      Added value: +{
      +  "description": "chosen once, resent unchanged on retries: the same key never buys twice",
      +  "type": "string"
      +}
  2. Changed1 schema field changedv0.1.161
    • changedOutput schema / (root)
      Previous value: -{
      -  "$schema": "http://json-schema.org/draft-07/schema#",
      -  "additionalProperties": false,
      -  "properties": {
      -    "anchors": {
      -      "description": "the Meta policy pages consulted ({url, …})",
      -      "items": {},
      -      "type": "array"
      -    },
      -    "findings": {
      -      "description": "flagged issues ({severity, issue, policy_quote, fix_suggestion, where_in_ad})",
      -      "items": {},
      -      "type": "array"
      -    },
      -    "summary": {
      -      "description": "one-line verdict summary",
      -      "type": "string"
      -    },
      -    "verdict": {
      -      "description": "pass / fix / block",
      -      "type": "string"
      -    }
      -  },
      -  "type": "object"
      -}New value: +null
  3. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Goes well beyond the annotations: discloses a flat 1-credit cost, that policies are pulled live from Meta, the three-way verdict taxonomy, that every issue quotes source policy verbatim and includes a compliant rewrite, and that no creative is mutated. Some ambiguity remains around latency and whether the credit is charged on failure, but the behavioral picture is otherwise rich.

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 core action and cost, then the return contract, then when to use it — a sensible order. Slightly heavy on emphatic capitals (REAL, QUOTES, ANY) and the sentence count could be trimmed, but every sentence carries information.

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?

With no output schema, the description responsibly explains what comes back (verdict plus verbatim policy citations and rewrites) and that it is non-mutating. Combined with full schema coverage and annotations, an agent has what it needs to call it correctly; only pricing-failure and latency behavior are left implicit.

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 all seven parameters (copy, claims, category, get_cost, idempotency_key, expected_credits, imageDescription) are already documented in the schema. The description adds little per-parameter meaning, though 'ad copy / script / on-screen text' context is implied by the pre-flight framing. Baseline 3 applies when the schema carries the semantics.

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 specific verb and resource — pre-flighting ad copy against Meta's live Advertising Standards — and pins down the return shape (pass/fix/block with verbatim policy quotes plus a rewrite). The line 'It's a check, not an edit' sharply separates it from creative-editing siblings like score_ad or render_ad.

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 when-to-use guidance: regulated-adjacent categories (health/supplements, weight-loss, finance, alcohol, dating, gambling) or any strong/absolute claim. It also clarifies the boundary that it never modifies the creative. It does not name an explicit alternative tool or a when-not-to-use condition, which keeps it short of a 5.

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