Skip to main content
Glama

Metrinel

List Google Ads query fields

ads_list_fields
Read-only

List the fields available on a GAQL resource, with type and whether each one can be selected, filtered or sorted. Use it before writing an ads_query on an unfamiliar resource.

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": {
      "resource": "<resource>"
    },
    "name": "ads_list_fields"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
resourceYesGAQL resource to describe, e.g. campaign, ad_group, keyword_view, search_term_view, metrics, segments.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered and the bar is lower. The description adds the shape of each returned entry (type, selectability, filterability, sortability), but says nothing about cost, rate limits, or whether the field list can be truncated by the limit parameter.

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?

Two sentences, both earning their place. Purpose comes first, then the usage rule, with no repetition of annotation or schema content.

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?

An output schema exists, so return values needn't be spelled out (the description summarizes them anyway). For a two-parameter read-only discovery tool this is nearly sufficient; the one meaningful omission is the truncation semantics of `limit`.

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 only 50%: `resource` is documented in-schema with concrete examples, but `limit` has no description anywhere. The description does not compensate — it never mentions the limit, its default of 300, or the risk of truncating the field list on large resources, which would matter to an agent deciding whether to raise it.

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 names a specific verb and resource ('list the fields available on a GAQL resource') and characterizes the payload: type plus selectable/filterable/sortable flags. It clearly separates itself from ads_query by positioning itself as the prerequisite discovery step, though it does not distinguish itself from the unprefixed `list_fields` sibling.

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?

It gives an explicit trigger for use: 'before writing an `ads_query` on an unfamiliar resource.' That is actionable guidance tied to the sibling tool, but it offers no when-not guidance (e.g., for known/familiar resources, or a note that re-listing is unnecessary) and no mention of alternatives for GA4 field discovery.

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.

Resources