Skip to main content
Glama

Get the link to launch a campaign

get_launch_link
Read-onlyIdempotent

Check that a draft campaign has its emails and return the link to it in the Pipefire console, where the user reads the emails and presses Launch themselves. This tool changes nothing and sends nothing.

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": {
      "campaign_id": "<campaign_id>"
    },
    "name": "get_launch_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
campaign_idYesThe draft campaign id.

Output Schema

NameRequiredDescriptionDefault
linkYesLink to the campaign, where the user presses Launch in the Pipefire console.
nameYes
statusYesdraft or paused when ready to launch; active when already sending.
campaignIdYesThe campaign id, for the other campaign tools.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "campaignId": {
      +      "description": "The campaign id, for the other campaign tools.",
      +      "type": "integer"
      +    },
      +    "link": {
      +      "description": "Link to the campaign, where the user presses Launch in the Pipefire console.",
      +      "type": "string"
      +    },
      +    "name": {
      +      "type": "string"
      +    },
      +    "status": {
      +      "description": "draft or paused when ready to launch; active when already sending.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "campaignId",
      +    "name",
      +    "status",
      +    "link"
      +  ],
      +  "type": "object"
      +}
  2. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and idempotentHint=true; the description reinforces this with "changes nothing and sends nothing," which adds weight to the non-destructive claim about external sending. The precondition check is disclosed, though what happens when the draft lacks emails (error vs. a link anyway) is not stated.

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 sentences, front-loaded with the core action and the validation it performs, with zero filler. The closing sentence about not changing or sending anything earns its place.

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?

An output schema exists, so return values need no explanation, and the description covers the precondition and the safe-read behavior. The only gap is behavior on the failure path (draft without emails), which matters for a tool whose whole job is to validate before returning a link.

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?

Only one parameter, and the schema already documents campaign_id at 100% coverage. The description adds a small amount of meaning by requiring the campaign be a draft, but repeats what the schema's "draft campaign id" already says.

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?

"Check that a draft campaign has its emails and return the link to it in the Pipefire console" names a specific verb (return a link) and resource (draft campaign launch link), plus the precondition it validates. The purpose is narrow enough to be told apart from get_reply_approval_link, though no sibling is named explicitly.

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?

The description implies the trigger clearly: use it when a user wants to launch a draft campaign, and it explains the human-in-the-loop step ("the user reads the emails and presses Launch themselves"). It does not state when not to use it or name alternatives, so it falls short of a full 5.

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.