Skip to main content
Glama

Google Ads & Meta Ads

Merchant Center: Get Data Source

gmc_get_data_source
Read-onlyIdempotent

Inspect one data source (feed) of a Google Merchant Center account: its kind and input type, feed label and language, fetch schedule, URL and username for a fetched file or Google Sheet (never the password), and — for file sources — the latest processed file: processing state, rows total/created/updated, when it ran, and the row-level issues Google found with counts and help links. Use it to check a feed after gmc_fetch_data_source or gmc_update_data_source, or when products went missing after a feed run. Read-only.

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": {
      "data_source": "<data_source>"
    },
    "name": "gmc_get_data_source"
  }
}

Input Schema

NameRequiredDescriptionDefault
account_idNoNumeric Merchant Center account id, from gmc_list_accounts. May be left out when the connected login reaches exactly one account.
data_sourceYesNumeric data source id, from gmc_list_data_sources.

Output Schema

NameRequiredDescriptionDefault
kindYesprimary, supplemental, local_inventory, regional_inventory, promotion, product_review, merchant_review or other.
inputYesWho writes the source: API, FILE, UI or AUTOFEED.
fileNameNoThe file name Google expects for an uploaded file.
writableYesTrue when products in it can be changed through gmc_update_product_input / gmc_insert_product_input (API input).
accountIdYesMerchant Center account.
countriesYesTarget countries of a primary source, when set.
feedLabelNoFeed label of a product source.
fetchableYesTrue when Google fetches it from a URL or Google Sheet (gmc_fetch_data_source works).
displayNameYesName shown under Products › Data sources.
dataSourceIdYesNumeric data source id.
latestUploadNoThe latest processed file of a file source; null for other inputs or when none was processed yet.
fetchSettingsNoFetch schedule of a FETCH or GOOGLE_SHEETS source.
fileInputTypeNoUPLOAD, FETCH or GOOGLE_SHEETS for file sources.
contentLanguageNoContent language of a product source.
takeFromDataSourcesYesFor a primary source: the sources its default rule reads attributes from — 'self' and linked supplemental sources.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, and non-destructive, so the repeated 'Read-only' adds little. The description does add real context beyond that: it discloses that the password is never returned and that file sources include row-level issue counts with help links, which helps an agent interpret results correctly.

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?

One dense descriptive sentence followed by a short usage sentence, with usage guidance front-loaded after the field enumeration. It is somewhat long but every clause maps to an actual returned field or a selection cue.

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 the field enumeration is partly redundant, but it usefully signals the scope of the response (including the password exclusion) for a read-only inspection tool. Nothing an agent needs to call it correctly appears absent.

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%, and both account_id (including the single-account omission rule) and data_source are fully documented in the schema. The description adds no parameter-level detail, so the baseline of 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 opens with a specific verb and resource ('Inspect one data source (feed)') and enumerates exactly what is returned — kind, input type, feed label/language, fetch schedule, URL, and latest processed file details. It is clearly distinguishable from siblings like gmc_list_data_sources and gmc_fetch_data_source.

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 explicit triggering conditions: check a feed after gmc_fetch_data_source or gmc_update_data_source, or when products went missing after a feed run. What's missing is an explicit exclusion (e.g., use gmc_list_data_sources to enumerate sources), so it falls just short of a 5.

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