Skip to main content
Glama

push_newsletter_group

Destructive

Push a CallPilotAI recipient list to the provider as a group. Contacts are matched on the email address, so a second push does not duplicate them. Sends ONLY people who have no withdrawal recorded here — pushing a withdrawn address into a newsletter tool is how a withdrawal gets undone. This does not send anything: the mailing stays with the provider.

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": {
      "group_id": "<group_id>"
    },
    "name": "push_newsletter_group"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNoDefault true — show who would be sent, send nothing.
group_idYesThe provider's group id (from test_newsletter_connection).
lead_idsNoList of IDs (lead)
campaign_idNoTake the recipients from this CallPilotAI campaign.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / lead_ids / description
      Added value: +"List of IDs (lead)"
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

The annotations already declare a destructive, open-world, non-idempotent write, and the description adds material context beyond them: contacts are matched by email so pushes do not duplicate, withdrawn addresses are excluded for compliance reasons, and no mail actually leaves. The only friction is that 'a second push does not duplicate them' reads more idempotent than idempotentHint=false suggests, though it describes de-duplication of contacts rather than a true no-op.

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?

Four short sentences, front-loaded with what the tool does, then the de-duplication rule, then the safety constraint, then the negative scope. The withdrawal rationale is vivid but brief, and nothing is redundant.

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 destructive write tool with no output schema, the description covers the things an agent most needs: what is mutated, that no mail is sent, and who is excluded. It does not mention failure behavior or that provider connectivity (via test_newsletter_connection) is a precondition, which is a minor gap given the rich annotations and full schema coverage.

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 description coverage is 100%, so the baseline is 3. The description adds conceptual framing (recipient list, email-based matching) but does not clarify the relationship between lead_ids and campaign_id — whether they are alternatives or additive — and only the schema explains that group_id comes from test_newsletter_connection.

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?

The first sentence names a specific verb (push) and resource (CallPilotAI recipient list to the provider as a group), and the closing sentence pre-empts the natural confusion with send_group_mailing_test / create_group_mailing by stating 'this does not send anything.' An agent can distinguish this from the mailing-creation siblings without opening a 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?

Usage context is clear: this is the step that materializes a recipient list at the provider, not the step that sends mail, and the withdrawal-filtering rule defines who is eligible. It stops short of explicitly naming which sibling to use instead when the goal really is to send (e.g., send_group_mailing_test), so routing is implied rather than spelled out.

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.