Skip to main content
Glama

SA360 get cost chart

sa360_get_cost_chart
Read-only

Daily cost across Search Ads 360. client_id picks the brand (defaults to the active one); extra passes any other field the app accepts.

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": {
      "google_account_id": "<google_account_id>",
      "customer_id": "<customer_id>"
    },
    "name": "sa360_get_cost_chart"
  }
}

Input Schema

NameRequiredDescriptionDefault
extraNo
date_toNo
user_idNo
client_idNo
date_fromNo
user_emailNo
customer_idYes
google_account_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, and the description adds no behavioral context of its own — nothing about the date-range window behavior, what happens when dates are omitted, or the granularity/aggregation of the returned series. The output schema covers return shape, but operational behavior remains undisclosed.

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 compact clauses with the purpose front-loaded and no filler. The terse semicolon style is efficient, though the second clause drifts into implementation detail rather than information an agent needs to call it.

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?

For an 8-parameter tool with zero schema descriptions and a non-obvious date-range parameter, the definition is far too thin: required IDs, date semantics, and the meaning of the passthrough 'extra' field are not adequately covered. Only the output schema relieves part of the burden.

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% across 8 parameters, yet the description only explains client_id's default and that extra is a passthrough bag. The two required parameters (google_account_id, customer_id) and date_from/date_to formats and defaults, plus user_id/user_email, are left completely undocumented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Daily cost across Search Ads 360" gives a resource and a granularity (daily) but never states the scope (account/advertiser level) that would separate it from siblings like sa360_get_campaign_cost_chart. An agent can guess it is the non-campaign cost series, but the definition does not commit to that.

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?

No when-to-use or when-not-to-use guidance at all; the sibling campaign/click/conversion chart tools are never mentioned. The only routing hint is an implementation note about client_id defaulting to the active brand, which is not a usage condition.

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.