Skip to main content
Glama

TikTok get campaign

tiktok_get_campaign
Read-only

One TikTok campaign. client_id picks the brand (defaults to the active one); extra passes any other field the app accepts.

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

Input Schema

NameRequiredDescriptionDefault
extraNo
user_idNo
client_idNo
user_emailNo
campaign_idYes
advertiser_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered; the description adds little beyond that. It says nothing about permissions scope, what happens when the campaign_id is unknown or belongs to another advertiser, or how the active-brand default is resolved, though 'extra passes any other field the app accepts' does hint at a pass-through mechanism.

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?

Two short clauses, front-loaded with the resource and followed by parameter notes; nothing is padded or redundant. It is arguably too terse for a 6-parameter tool, but the terseness is economy rather than noise.

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

Completeness3/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 described, and the read-only annotation covers side effects. However, with 0% schema coverage and four undocumented parameters, plus no routing guidance against the many sibling get/list tools, the definition is thinner than this tool's complexity warrants.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must carry the load, yet it explains only two of six parameters: client_id (brand selection, defaults to the active one) and extra (free-form pass-through). The required advertiser_id and campaign_id, plus user_id and user_email, get no meaning at all, leaving the most important inputs undocumented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

'One TikTok campaign' signals cardinality (single record) and the resource, so an agent can infer a fetch-by-id operation, but there is no verb and no explicit contrast with tiktok_list_campaigns or meta_get_campaign. The reader must infer retrieval from the name and title rather than from a stated action.

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?

No guidance on when to call this versus tiktok_list_campaigns, tiktok_list_campaign_adgroups, or the other vendor get_campaign siblings. The only conditional statement is about client_id defaulting to the active brand, which is scoping, not usage guidance, and no prerequisites (advertiser access, campaign existence) are mentioned.

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.