Skip to main content
Glama

Alimentar campanha com um sinal

feed_campaign_with_signal
Idempotent

Make a campaign take, every day, the companies a signal monitor finds (including a custom signal monitor, market.category "custom"). The person at each company is the jobTitle given (or the campaign's); a social monitor (engagement with posts) gives the people themselves, no jobTitle. Linking is free; each person is charged as any campaign person when they enter. From then on the campaign enrolls people from the signal on its own, every day, and the signal delivers into the campaign's one sheet (what it delivered to a sheet of its own is copied in). Takes the exact campaign id; it does not pick a campaign by itself.

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": "feed_campaign_with_signal"
  }
}

Input Schema

NameRequiredDescriptionDefault
enrollNoall: the companies already found enter too; future: only the next ones.
jobTitleNoWho to reach at each company, e.g. "Sócio, Proprietário, Diretor".
confirmedNotrue only after the user agreed to the monthly cost a quote returned.
monitorIdYesThe signal (monitor) whose companies feed the campaign.
campaignIdYesThe campaign that will take the signal's companies every day.
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. Changed2 schema fields changed
    • 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 / 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. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare non-read-only, idempotent, non-destructive, closed-world, so the safety profile is covered. The description adds substantial behavior beyond that: ongoing daily enrollment, per-person cost incurred on entry, copying of previously delivered rows into the campaign's single sheet, and the requirement that confirmed be true only after the user accepted the quoted monthly cost. The sheet-copy sentence ('what it delivered to a sheet of its own is copied in') is phrased confusingly, which keeps it from a 5.

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 purpose is front-loaded in the first clause, but the paragraph is dense and reads as a run-on translation. The sentence about the campaign's sheet and the signal's own sheet is hard to parse and costs the reader without adding clear instruction.

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 mutating, idempotent tool with six parameters and no output schema, the definition covers the essentials: recurring behavior, cost and confirmation gating, enroll scope, and activation timing. What an agent cannot learn is the return value and the failure mode when confirmed is missing, but those are minor relative to the coverage given.

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 already 100%, so the baseline is 3; the description still adds meaningful semantics. It explains that jobTitle falls back to the campaign's own jobTitle and that a social monitor supplies people directly with no jobTitle, and it ties confirmed to the quote's monthly cost and runBeforeActive to a non-active campaign spending now versus at activation.

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 uses a specific verb and resource: it makes a campaign take the companies found by a signal monitor, every day. It clearly distinguishes this wiring operation from a one-off find (the sibling find_companies_with_signal) by saying the campaign then 'enrolls people from the signal on its own, every day'. It stops short of explicitly naming the differentiating sibling, but the scope is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives real usage context: linking is free, people are charged when they enter, and a quote/confirmation is implied through the 'confirmed' parameter. It notes the tool requires the exact campaign id and does not select a campaign itself. However, it never states when to prefer this over siblings like set_campaign_signal_monitor or update_campaign_signals, and it gives no explicit when-not conditions.

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.