Skip to main content
Glama

prepare_platform_exclusions_add

LinkedIn: exclude audience URNs by facet. Amazon: campaign negative keywords. Changes nothing: returns a preview_id (15 min, one use) for execute_prepared_change.

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": {
      "client_id": "<client_id>",
      "platform": "<platform>",
      "platform_campaign_id": "<platform_campaign_id>",
      "values": "<values>",
      "reason": "<reason>"
    },
    "name": "prepare_platform_exclusions_add"
  }
}

Input Schema

NameRequiredDescriptionDefault
facetNo
reasonYesWhy, with numbers (shown to the approver).
valuesYesLinkedIn URNs or Amazon keywords.
platformYes
client_idYes
match_typeNo
platform_campaign_idYesPlatform id.

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?

Goes well beyond the annotations by stating "Changes nothing" (dry-run semantics despite readOnlyHint=false), that a preview_id is returned with a 15-minute lifetime, and that it is single-use. That is exactly the operational context an agent needs. It does not mention permissions or what happens on preview expiry/reuse.

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?

Three short fragments, front-loaded by platform and then the crucial no-op/preview behavior. Every clause carries information, though the telegraphic style leaves some connections implicit rather than stated.

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?

For a 7-parameter, 5-required mutation-staging tool with no output schema, the definition covers the core lifecycle but omits platform-conditional parameter usage and required-field expectations. An agent could call it, but would likely have to inspect the schema closely to know when to supply facet versus match_type.

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?

With only 43% schema coverage across 7 params, the description fills a real gap by explaining that values means LinkedIn URNs or Amazon keywords, and hints that facet applies to LinkedIn. It leaves match_type (Amazon exact/phrase), client_id, platform_campaign_id, and the required reason unexplained, and never states which params are platform-conditional.

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?

Names a concrete operation per platform: "exclude audience URNs by facet" for LinkedIn and "campaign negative keywords" for Amazon. The verb 'prepare' in the name is clarified by the closing sentence pointing to execute_prepared_change, so the two-step nature is discoverable. It stops short of explicitly saying it produces a staged change object, but the effect is clear.

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

Usage Guidelines3/5

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

It implicitly directs the agent to execute_prepared_change as the follow-up, which is useful routing. However, it gives no guidance on when to pick this versus prepare_negative_keywords_add, which by name overlaps with the Amazon case, and no platform prerequisites or exclusions are stated.

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.