Skip to main content
Glama

Get Campaign

postly_get_campaign
Read-onlyIdempotent

Fetches one Postly campaign, including its brief, objective, audience, schedule, status, and targets. Requires campaigns.read.

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

Input Schema

NameRequiredDescriptionDefault
campaign_idYesPostly campaign ID from postly_list_campaigns.
workspace_idYesPostly workspace ID.

Output Schema

NameRequiredDescriptionDefault
codeNo
dataNo
messageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuine context beyond them: the breadth of the returned object and the required 'campaigns.read' scope, which an agent must know before calling. It does not cover error behavior for a missing or unauthorized campaign.

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 short sentences, zero filler. The payload description comes first and the access requirement is appended as a compact constraint, which is the right ordering for an agent scanning definitions.

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 not be explained, and both required parameters are fully described in the schema. The auth scope is stated, leaving only minor gaps such as behavior when the campaign does not exist or is outside the workspace.

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%, with campaign_id explicitly sourced 'from postly_list_campaigns' and workspace_id documented, so the schema carries the parameter burden. The description adds nothing about parameters beyond what is already structured, which is the expected baseline.

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 ('Fetches one Postly campaign') and enumerates the fields returned (brief, objective, audience, schedule, status, targets). The singular 'one' implicitly separates it from postly_list_campaigns, but it never names that sibling or postly_get_campaign_report, which is the nearest ambiguous neighbor.

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

Usage Guidelines2/5

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

The only guidance is the permission requirement 'Requires campaigns.read.' There is no statement of when to reach for this tool versus postly_list_campaigns or postly_get_campaign_report, and no precondition such as needing a campaign_id obtained elsewhere.

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.

Resources