Skip to main content
Glama
Bing Ads MCP Server

Bing Ads MCP Server

by mharnett

bing_ads_get_client_context

Retrieves current client context and health status from a working directory to confirm which Bing Ads account is active before you proceed.

Instructions

Get the current client context and health status based on working directory. Call this first to confirm which Bing Ads account you're working with.

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": {
      "working_directory": "<working_directory>"
    },
    "name": "bing_ads_get_client_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
working_directoryYesThe current working directory

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.3

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden. It does disclose that behavior depends on the working directory and that it surfaces account identity plus health status, which is useful. However, it says nothing about failure modes (e.g., unknown or invalid working directory), permission/auth requirements, or what 'health status' entails.

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 with zero filler: the first states what is returned, the second states the calling convention. The sequencing instruction is front-loaded where an agent will read it.

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 one-parameter read tool with no output schema, this covers the essentials: what it returns, what it depends on, and when to call it. It would be stronger if it sketched the shape of the returned context/health information, but nothing critical to a 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?

There is a single parameter and schema description coverage is 100%, so the schema already documents working_directory fully. The phrase 'based on working directory' adds only a hint of how the value drives resolution. Baseline 3 is appropriate when the schema does the heavy lifting.

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?

The description states a specific verb and resource: retrieving the current client context and health status tied to a working directory. It clearly differs from the data-listing siblings (campaigns, ad groups, reports) without needing to name them. The only soft spot is that 'client context' and 'health status' are not concretely defined.

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 explicit sequencing guidance — 'Call this first' — and states the goal of confirming which Bing Ads account is in play. That is a clear when-to-use signal for an agent orienting itself before other calls. It does not state any when-not-to-use case, but for a prerequisite/context tool that is a minor omission.

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