Skip to main content
Glama

Sinais da campanha

update_campaign_signals
DestructiveIdempotent

Changes the signals that already feed a campaign. remove takes one off: it is paused when no other campaign reads it, and the people it brought stay. match any ("qualquer sinal") lets each signal bring companies on its own; match all ("todos os sinais") keeps only the companies every signal brought, each within its own window. feedOn false pauses every signal of the campaign; feedOn true turns them back on. On an active campaign, feedOn true turns paused signals on and they spend 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>"
    },
    "name": "update_campaign_signals"
  }
}

Input Schema

NameRequiredDescriptionDefault
matchNoany = "qualquer sinal"; all = "todos os sinais".
feedOnNofalse pauses the campaign's signals; true turns them back on.
removeNoA signal (monitorId) to take off the campaign.
confirmedNotrue only after the user agreed to the monthly cost a quote returned.
campaignIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing real consequences: removing a signal pauses it only when no other campaign reads it, the people it brought stay, and feedOn true on an active campaign spends credits every day. Annotation fields (destructiveHint true, idempotentHint true) are consistent with this. A minor gap: it doesn't say what the quote response contains beyond the monthly ceiling or whether re-applying the same change is safe.

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 verb and then structured by operation, so each sentence carries information. Density is high but nearly every clause earns its place; the repeated bilingual aliases ('qualquer sinal', 'todos os sinais') are slightly redundant with the schema but serve as user-facing terminology.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 5-parameter mutation with no output schema, the definition covers permissions, side effects, credit cost, idempotency-adjacent behavior, and the quote/confirm flow — including what the quote call returns. Nothing an agent needs in order to call this correctly appears to be missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Adds substantive meaning beyond the 80%-covered schema: match any vs all is explained with the consequence for company sets ('each within its own window'), which the schema does not convey, and confirmed is tied to the cost quote the user must agree to. remove's pause-without-losing-people side effect is semantics the schema cannot express.

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?

States a specific verb and resource: 'Changes the signals that already feed a campaign,' then enumerates the three kinds of change (remove, match, feedOn). The phrase 'already feed' implicitly separates it from add-style siblings like feed_campaign_with_signal, but no sibling is named explicitly, so an agent must infer that boundary.

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 clear conditions for each operation and, crucially, the two-step protocol: a first call returns a status quote and changes nothing, and only a call with confirmed true applies the change. It also states the permission prerequisite (workspace owner or admin). It does not explicitly route to an alternative tool for adding signals, which keeps it at 4.

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.