Skip to main content
Glama
ZLeventer

google-ads-mcp

gads_account_info

Retrieve basic Google Ads account information including name, currency, timezone, manager flag, and status.

Instructions

Get basic info for the current Google Ads account: name, currency, timezone, manager flag, status.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
customer_idNoOverride GOOGLE_ADS_CUSTOMER_ID for this call (no dashes)

Implementation Reference

  • The main handler function for 'gads_account_info'. It gets a Google Ads customer (optionally overridden by customer_id), queries the customer table for basic account info (id, name, currency, timezone, auto_tagging, manager flag, test_account, status), and returns the first row.
    export async function accountInfo(args: z.infer<z.ZodObject<typeof accountInfoSchema>>) {
      const customer = getCustomer(args.customer_id);
      const rows = await customer.query(`
        SELECT
          customer.id,
          customer.descriptive_name,
          customer.currency_code,
          customer.time_zone,
          customer.auto_tagging_enabled,
          customer.manager,
          customer.test_account,
          customer.status
        FROM customer
        LIMIT 1
      `);
      return rows[0] ?? null;
    }
  • Input schema for 'gads_account_info' – optional customer_id override parameter.
    export const accountInfoSchema = {
      customer_id: z.string().optional().describe("Override GOOGLE_ADS_CUSTOMER_ID for this call (no dashes)"),
    };
  • src/index.ts:71-76 (registration)
    Registration of the 'gads_account_info' tool with the MCP server, wiring the schema and handler.
    server.tool(
      "gads_account_info",
      "Get basic info for the current Google Ads account: name, currency, timezone, manager flag, status.",
      accountInfoSchema,
      async (args) => { try { return ok(await accountInfo(args)); } catch (e) { return err(e); } }
    );
Behavior2/5

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

With no annotations, the description carries full burden but only states it gets info, lacking details on side effects, permissions, rate limits, or error conditions. While it is read-only by nature, more transparency (e.g., authentication requirements) would be beneficial.

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 concise sentence, front-loaded with the action and resource. Every word adds value, and there is no redundancy or unnecessary detail.

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?

Given no output schema, the description helpfully lists the returned fields (name, currency, timezone, etc.). It lacks error handling or edge cases, but for a simple read-only tool, this is mostly adequate. Sibling context is provided but not leveraged.

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?

The input schema already describes the single optional parameter (customer_id) with a clear description. The tool description adds no further parameter meaning beyond listing returned fields. Schema coverage is 100%, so 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?

The description clearly states the verb 'Get' and the resource 'basic info for the current Google Ads account', listing specific fields (name, currency, timezone, manager flag, status). This distinguishes it from sibling tools like gads_list_accounts which likely list multiple accounts rather than the current one.

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?

The description implies usage for retrieving basic account info but provides no explicit guidance on when to use this tool versus alternatives (e.g., gads_list_accounts for multiple accounts, or other performance tools). No exclusions or alternative tools are mentioned.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ZLeventer/google-ads-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server