Skip to main content
Glama

Campanha alimentada por monitor

set_campaign_signal_monitor
DestructiveIdempotent

Feeds a campaign from a market or social signal monitor, or stops every signal with monitorId null. Without add or replaces the monitor becomes the campaign's only signal. Every signal of a campaign delivers into the campaign's one sheet (what it delivered elsewhere is copied in). A campaign takes up to 5 signals: add true keeps the others and adds this one; replaces (a monitorId the campaign has) puts this one in its place and pauses the old one when no other campaign reads it. Each day the campaign's daily additions take the companies the signals delivered and write to one person at each: the person the monitor already found, a store's owner, or jobTitle searched at the company (required unless the monitor is about online stores or the campaign already has a job title; with add the campaign keeps its own). People are added, and charged, at the campaign's daily people limit. On an active campaign, add or replaces turns the signal on and it spends credits every day: the first call returns status quote with the monthly credit ceiling and changes nothing; the call with confirmed true applies it. Only a workspace owner or admin can change 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": {
      "campaignId": "<campaignId>",
      "monitorId": "<monitorId>"
    },
    "name": "set_campaign_signal_monitor"
  }
}

Input Schema

NameRequiredDescriptionDefault
addNotrue: keep the campaign's other signals and add this one.
jobTitleNo
replacesNoA signal of the campaign that this monitor takes the place of.
confirmedNotrue only after the user agreed to the monthly cost a quote returned.
monitorIdYes
campaignIdYes
runBeforeActiveNoOn a campaign that is not active: true runs the signal now (it spends and its companies wait for the activation), false runs it only once the campaign is activated. Only what the person chose in the quote's question.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / runBeforeActive
      Added value: +{
      +  "description": "On a campaign that is not active: true runs the signal now (it spends and its companies wait for the activation), false runs it only once the campaign is activated. Only what the person chose in the quote's question.",
      +  "type": "boolean"
      +}
  2. Changed3 schema fields changed
    • addedInput schema / properties / add
      Added value: +{
      +  "description": "true: keep the campaign's other signals and add this one.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / confirmed
      Added value: +{
      +  "description": "true only after the user agreed to the monthly cost a quote returned.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / replaces
      Added value: +{
      +  "description": "A signal of the campaign that this monitor takes the place of.",
      +  "format": "uuid",
      +  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +  "type": "string"
      +}
  3. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations declare a destructive, non-read-only, idempotent mutation, and the description goes well beyond that by disclosing credit spend on active campaigns, the two-step quote/confirm sequence where the first call changes nothing, that replacement pauses the old monitor, and that only a workspace owner or admin may call it. It also explains the downstream daily effect: people are added and charged at the campaign's daily people limit. These are exactly the consequences an agent needs before invoking a billing-affecting mutation.

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

Conciseness3/5

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

The core purpose is front-loaded and every sentence carries real information, but the prose is a dense run-on with several near-unparseable fragments such as 'Without add or replaces the monitor becomes the campaign's only signal.' Important constraints like the credit ceiling and the permission requirement are buried mid-paragraph rather than surfaced.

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 complex, costly mutation with no output schema and seven parameters, the description covers the essentials: cost model, confirmation protocol, permission gate, capacity limit, and job-title fallback. What it lacks is any hint of what the quote response contains or how to compare the returned monthly ceiling with existing campaign spend, and runBeforeActive is left entirely to the schema.

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?

Schema coverage is 57%, and the description compensates by giving operational meaning to add, replaces, confirmed, monitorId=null, and the conditional requirement on jobTitle, including that with add the campaign keeps its own job title. It adds little for campaignId, and runBeforeActive is only explained in the schema, not in the description. Overall it meaningfully exceeds the schema text.

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 opening sentence names a specific verb and resource set: it attaches a signal monitor to a campaign, and the null-monitorId case removes all signals. That is concrete enough to act on. It does not name or distinguish the near-siblings update_campaign_signals or feed_campaign_with_signal, so an agent must infer the boundary itself.

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?

Usage conditions are stated in detail: add=true keeps existing signals, replaces swaps one out and pauses it when no other campaign reads it, the campaign caps at 5 signals, and jobTitle is required unless the monitor covers online stores or the campaign already has a job title. The quote-then-confirmed=true flow and the owner/admin requirement are explicit. The gap is that no sibling tool is named as an alternative for the case where this tool is the wrong choice.

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.