Skip to main content
Glama

ads_account_get

Read-onlyIdempotent

Get one ad account: name, currency, status, billing_status, balance, amount_spent, spend_cap, minimum_daily_budget, funding_source, usable and unusable_reason (fields vary by network). Pass profile_id when the same ad account is reachable through several ads profiles.

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": {
      "ad_account_id": "<ad_account_id>"
    },
    "name": "ads_account_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
liveNoRefetch from the ad network before answering instead of using the last synced copy
profile_idNoAds profile hashid (the profile_id of an ad account in ads_accounts_list). Optional when exactly one ads profile is connected; required when several are.
ad_account_idYesAd account id: the network's own id, from ads_accounts_list (id field)
profile_group_idNoProfile group hashid, to scope the call to one profile group. Usually not needed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds genuinely useful context that returned fields vary by network, but says nothing about caching behavior, refresh cost, or permissions — the live-refetch tradeoff is only in the schema, not the description.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the core action and the field inventory, then the conditional profile_id note. The field enumeration is dense but earns its place as the only return-value documentation, since no output schema exists.

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?

With no output schema, enumerating returned fields and flagging that they vary by network is the right compensation, and the profile_id caveat covers the main invocation pitfall. The live refetch parameter, which materially changes behavior and cost, is left entirely to the schema.

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 are already documented, including live and profile_group_id. The description only restates the profile_id conditionality, adding no syntax, format, or edge-case detail beyond the schema; baseline 3 applies.

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?

States a specific verb and resource ("Get one ad account") and enumerates the returned fields, making the singular-record scope clear against list-style siblings like ads_accounts_list. It does not explicitly name an alternative tool, so it falls short of full sibling differentiation.

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?

Provides one conditional rule of thumb: pass profile_id when the same ad account is reachable through several ads profiles. It gives no guidance on when to prefer this over ads_account_health or ads_accounts_list, and no mention of when to use live=true versus the cached copy.

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.