Skip to main content
Glama
crm-lifecycle-ops

crm-lifecycle-ops

Check a push, SMS, in-app, content card or webhook

check_message
Read-only

Validates push, SMS, in-app, content-card, and webhook messages against house rules—rendering personas and checking limits, links, opt-out wording, and secrets without sending anything.

Instructions

QA one push notification, SMS/MMS, in-app message, content card or webhook using the team's house rules: renders personalization for several synthetic personas, then checks length against lock-screen / segment / in-app / card limits, SMS encoding and billed segments, opt-out wording and sender name, deep links and other links (non-production hosts, malformed URIs), buttons, webhook URL, secrets in URLs and JSON bodies that break on quotes, brand terms and spelling. Read-only; sends nothing.

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

Input Schema

NameRequiredDescriptionDefault
bodyYesPush body/alert, SMS text, or in-app message body (text or HTML).
nameNo
titleNoPush title or in-app header.
buttonsNoIn-app buttons.
channelYes
personasNo
platformYesWhich platform's template language the message uses.
deep_linkNoTap-through destination: deep link or URL.
image_urlNo
webhook_urlNoWebhook destination URL.
webhook_methodNoWebhook HTTP method (POST, GET…).
opt_out_appendedNoTrue when the platform adds the SMS opt-out wording itself, so the text doesn't need its own.
platform_channelNoThe platform's own channel name when it matters, e.g. "android_push" (Braze Android pushes need a title).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.5.6
    • addedInput schema / properties / opt_out_appended
      Added value: +{
      +  "description": "True when the platform adds the SMS opt-out wording itself, so the text doesn't need its own.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / platform_channel
      Added value: +{
      +  "description": "The platform's own channel name when it matters, e.g. \"android_push\" (Braze Android pushes need a title).",
      +  "type": "string"
      +}
  2. First observedv0.5.1

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false; the description reinforces that with 'sends nothing' and goes further by disclosing the actual check battery (personalization rendering over synthetic personas, lock-screen/segment/card length limits, SMS encoding and billed segments, opt-out wording, deep links, secrets in URLs/JSON). It omits any hint about the result shape or what happens when checks fail, which is the main remaining gap.

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?

One long but well-ordered sentence: channels first, then the checks in the order they run, then the read-only assurance. Dense rather than padded, though the mid-sentence check catalog is long enough that a slightly tighter grouping would read better.

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?

For a 13-parameter tool with no output schema, the definition explains inputs and intent well but leaves the return value entirely unspecified — an agent cannot tell whether it gets pass/fail per check, findings, or a score. Combined with the 69% schema coverage, this leaves a noticeable hole for a tool this wide.

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 69%, so roughly a third of the 13 parameters carry no description. The narrative adds real meaning for a few of them — personas drives the personalization render, channel drives which limit set applies, deep links and buttons get inspected — but it says nothing about opt_out_appended, platform_channel, webhook_method, image_url or name, so an agent must infer those from the schema alone.

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 (QA/check) and a specific resource (a single message), then enumerates the exact channels covered: push, SMS/MMS, in-app, content card, webhook. The channel list implicitly draws the boundary against check_email and against sending-side tools, so an agent can pick it without opening the 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 context is unambiguous — this is pre-send QA of one message against house rules — and 'Read-only; sends nothing' rules out using it as a send step. It never names a sibling alternative or an explicit when-not condition (e.g. what to use for a whole campaign), so it falls 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.