Skip to main content
Glama

Reject unrelated Google advertisers

reject_google_ads_candidates

Reject all currently pending Google advertiser candidates after a human checks they are unrelated.

The supplied list must exactly match the current pending candidates; a changed list causes a conflict.
Use an OAuth connection with mcp:configure; API keys are read-only even for administrators. Check get_workspace_context using this same connection when a permission is refused.
This does not confirm an advertiser or start ad collection. Refresh diagnose_monitoring afterward.

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": {
      "monitoring_group_id": "<monitoring_group_id>",
      "brand_id": "<brand_id>",
      "expected_candidate_ids": "<expected_candidate_ids>"
    },
    "name": "reject_google_ads_candidates"
  }
}

Input Schema

NameRequiredDescriptionDefault
brand_idYesTracked brand whose candidates were reviewed.
monitoring_group_idYesAuthorized watchlist containing the brand.
expected_candidate_idsYesEvery current pending AR ID from the latest diagnosis, after checking that none belongs to this brand.

Output Schema

NameRequiredDescriptionDefault
brand_idYes
rejected_countYes
identity_statusYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

With annotations supplying only readOnly/openWorld/destructive flags, the description carries substantial extra behavior: the exact-match precondition on the candidate list and the resulting conflict, OAuth scoping requirements with mcp:configure, the read-only limitation of API keys, and the recommended recovery path (get_workspace_context on this same connection) when permission is refused. That is precisely the operational context annotations cannot express.

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?

Four short sentences, front-loaded with the action and precondition, then constraints, auth, non-goals, and the follow-up. No sentence is redundant and none bury the operative rule.

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

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 3-parameter mutation with an output schema, the description covers preconditions, auth mode, failure/conflict behavior, error recovery, and the next step, so an agent has everything needed to invoke it correctly. Nothing material is left to inference.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning beyond the schema: expected_candidate_ids must exactly mirror the current pending set or the call conflicts, which clarifies the parameter's contract far beyond "Every current pending AR ID from the latest diagnosis." brand_id and monitoring_group_id are not discussed further, but the schema already covers them.

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?

States a specific verb and resource — reject the currently pending Google advertiser candidates — and scopes it to "all" pending ones so an agent can tell it apart from a per-item correction or a confirm action. The sentence "This does not confirm an advertiser or start ad collection" further pins down the boundary of the operation.

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?

Gives a clear precondition ("after a human checks they are unrelated"), a scope exclusion (not confirming / not starting collection), and a follow-up step (refresh diagnose_monitoring). It does not name a sibling tool an agent should use instead when the candidates are related, so the routing guidance is context-rich but not exhaustive.

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.