Skip to main content
Glama
Bing Ads MCP Server

Bing Ads MCP Server

by mharnett

bing_ads_get_shared_entity_associations

Identify which campaigns a shared negative keyword list is attached to, helping detect a list that blocks the campaign's own targeted keywords when only an association count is available.

Instructions

Get the campaigns a shared negative keyword list is attached to. Use this to detect a list attached to the very campaign built to target those terms, which silently blocks its own keywords. bing_ads_list_shared_entities returns only an AssociationCount, not which campaigns.

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": {
      "shared_entity_ids": "<shared_entity_ids>"
    },
    "name": "bing_ads_get_shared_entity_associations"
  }
}

Input Schema

NameRequiredDescriptionDefault
account_idNoThe account ID (uses context if not provided)
entity_typeNoWhat the list is attached TO, defaults to CampaignCampaign
shared_entity_idsYesOne or more shared list IDs. The API allows one per call, so several ids are fanned out and merged automatically.
shared_entity_typeNoWhat the list IS, defaults to NegativeKeywordListNegativeKeywordList

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.3

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses the useful behavioral insight that a misattached list silently blocks its own keywords, and the schema notes the multi-ID fan-out, but there is no mention of permissions, response shape, or pagination behavior.

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?

Three short sentences: what it returns first, then the motivating scenario, then the sibling contrast. Every sentence carries information an agent needs, with no filler or repetition of the title.

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 read-only lookup with complete schema coverage, the description tells the agent what comes back (the campaigns) and why that matters. With no output schema, it could say more about the returned fields or ordering, but nothing essential for correct invocation is missing.

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 all four parameters (account_id context fallback, entity_type, shared_entity_ids fan-out, shared_entity_type) are already documented in the schema. The description adds no additional parameter meaning beyond what the schema states, so the baseline 3 applies.

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?

"Get the campaigns a shared negative keyword list is attached to" names a specific verb (get), the resource (campaign associations), and the direction of the relationship (list -> campaigns). It is immediately distinguishable from the sibling that only lists entities.

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?

It gives a concrete diagnostic scenario (a list attached to the very campaign targeting those terms, silently blocking its own keywords) and explicitly routes away from bing_ads_list_shared_entities because that returns only an AssociationCount. No when-not conditions are stated, but the alternative and its limitation are spelled out.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.