Skip to main content
Glama
flin-google-keyword-planner-mcp

flin-google-keyword-planner-mcp

by flin-agency

google_ads_exchange_authorization_code

Exchange a Google Ads OAuth authorization code and securely persist the resulting tokens without exposing them in chat.

Instructions

Exchange and securely persist an OAuth code without exposing tokens in chat.

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": {
      "code": "<code>"
    },
    "name": "google_ads_exchange_authorization_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYes
redirect_uriNohttp://localhost:8080/

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.6

TDQS

B3/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 behavioral burden, and it does disclose two meaningful traits: it securely persists the result and avoids exposing tokens in chat. However, it does not explain what is persisted, where credentials are stored, whether existing credentials are overwritten, or what permissions or failure modes apply. This is useful but incomplete for a sensitive OAuth exchange operation.

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?

The description is a single front-loaded sentence with no wasted words. It states the action and the security motivation efficiently. Its brevity is appropriate at the sentence level, even though other dimensions reveal missing detail.

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

Completeness2/5

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

The tool handles an OAuth code exchange and credential persistence, with two parameters at 0% schema description coverage and no annotations. An output schema exists, so return values need not be explained, but the description still omits parameter semantics, prerequisites, persistence behavior, and safe-use guidance. It is too sparse for the sensitivity and complexity of the operation.

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 needs to compensate for both parameters. It references an OAuth code, which loosely maps to the required code parameter, but it says nothing about redirect_uri, its default value, or how the two parameters relate. The parameter meaning remains largely undocumented.

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 uses a specific verb and resource: exchange and persist an OAuth authorization code. It clearly identifies a token-exchange operation rather than an authorization URL or status check. It does not explicitly differentiate itself from sibling OAuth tools, so it stops short of a 5.

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?

The description implies this tool is used to exchange an OAuth code, but it gives no explicit when-to-use guidance or relationship to sibling tools such as google_ads_authorization_url or google_ads_start_local_oauth_flow. It also does not state prerequisites, such as having obtained a code from the authorization flow.

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