Skip to main content
Glama

Dry-run a comment against the campaigns

test_campaign_match
Read-onlyIdempotent

Reports which campaign a given comment text would trigger, without sending anything. Use it to verify a campaign right after creating it.

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": {
      "page": "<page>",
      "text": "<text>"
    },
    "name": "test_campaign_match"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageYesChannel id from list_pages (a Facebook Page or an Instagram account)
textYes
post_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description's real contribution is the dry-run framing ('without sending anything'), which clarifies that no comment is posted. It does not say what the report contains or what happens when no campaign matches.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, zero filler, with the core behavior and the non-sending guarantee front-loaded before the usage hint.

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 3-parameter tool with no output schema, the description covers the main behavior but leaves gaps: the shape of the 'report' is undefined, and the optional post_id parameter is unaddressed, so an agent cannot tell whether omitting it changes matching behavior.

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 only 33%: only 'page' is documented in the schema. The description clarifies that 'text' is the comment body being evaluated, which is useful, but 'post_id' is never mentioned and its role is left entirely unexplained.

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 ('Reports which campaign a given comment text would trigger') plus the key qualifier 'without sending anything'. This clearly separates it from get_campaign and list_campaigns, which read campaign data rather than evaluate text against them.

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 an explicit usage context: 'Use it to verify a campaign right after creating it.' That is a concrete when-to-use signal, though it offers no exclusions or named alternatives for other verification scenarios.

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.