Skip to main content
Glama

get_ad_channel

Read-only

Get one ad channel's detail: the integration TYPES it supports and each type's capabilities. Ads are ads-based channels (advertising / price-comparison / classifieds), not marketplaces: they publish products to the ad platform and have no order sync. Returns {channelCode, label, kind:'ads', devOnly, multichannel, multichannelCode, definitions:[{ definitionCode, type, typeLabel, label, versionType, primary, capabilities:{orderSync, categoryMapping, productFilter, attributeMapping}}]}. versionType is 'primary' or 'secondary' (primary marks the default). Call this before create_ad to choose the right definitionCode for the channel. channel_code is the channelCode from list_ad_channels. project_id is OPTIONAL (inferred for a single-project customer; project_id_required otherwise — then call list_projects and pass its project_id).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idNo
channel_codeYeschannelCode of the ad channel (from list_ad_channels).

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description goes beyond this by defining the semantic domain (ads vs. marketplaces, no order sync), explaining the meaning of versionType ('primary' vs. 'secondary'), and disclosing that project_id is optional only under a specific condition (single-project customer vs. project_id_required). These are behavioral details the annotations do not convey, making the description genuinely informative.

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?

The description is longer than typical but every sentence carries essential information: the what, the domain disambiguation, the return structure, field semantics, and usage callout. It is well-structured: the primary purpose is front-loaded, followed by clarifying context, then parameter guidance. It is not padded with fluff, though it could potentially shorten the return-structure details since there is no output schema and they are necessary for the agent to understand the result.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only getter, this description is unusually complete. It includes the full return payload shape with nested definitions, clarifies how to interpret versionType, states the exact ordering of use relative to list_ad_channels and create_ad, and covers the project_id edge case. No output schema is provided, so the description must carry the return contract — and it does. An agent has everything needed to invoke this tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With schema coverage at 50%, only channel_code has a schema description, and it is minimal. The description compensates fully: it explains channel_code's provenance ('from list_ad_channels'), describes project_id's optionality and the exact condition for when it is required, and maps both to their roles in selecting a definitionCode. This adds meaning beyond the schema's bare type constraints.

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–resource pair ('Get one ad channel's detail') and immediately narrows scope to 'integration TYPES it supports and each type's capabilities.' It explicitly differentiates ad channels from marketplaces ('Ads are ads-based channels... not marketplaces') and names the sibling tools it is not (list_ad_channels, create_ad). This leaves no ambiguity about what the tool does and how it differs from get_marketplace_channel.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives explicit when-to-use guidance: 'Call this before create_ad to choose the right definitionCode for the channel.' It also specifies where input comes from ('channel_code is the channelCode from list_ad_channels') and when the optional project_id is needed (project_id_required otherwise — then call list_projects and pass its project_id). This is direct operational guidance that an agent can act on without inference.

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.

TDQS

A4.2/5.0
Disambiguation4/5

Tools are organized around distinct resources (ads, marketplaces, feeds, orders, rules, sources) with clear action verbs, and descriptions explicitly disambiguate near-pairs like get_feed_status vs ad_status or set_feed_filter vs set_feed_attribute_filter. A few similarly named status/action pairs (e.g. ad_status vs get_ad, run_ad_item_action vs run_ad_operation) require careful reading, but overall the purposes are separable.

Naming Consistency4/5

The overwhelming majority follow a consistent verb_noun snake_case pattern (list_*, get_*, create_*, set_*, run_*, test_*). Minor deviations like ad_status and marketplace_status (noun-based status tools) and koongo_knowledge break the pattern slightly, but the convention is clearly recognizable and predictable.

Tool Count1/5

At 105 tools, the surface is extreme and far beyond the 50+ threshold, even for a complex e-commerce integration domain. Much of the bloat comes from systematic triplication across ads, marketplaces, and feeds (e.g. three nearly identical map_*_attribute tools, three list_*_items, three get_*_report) that a generic resource parameter could have consolidated.

Completeness4/5

The toolset covers the full lifecycle of feeds, ads, marketplaces, order connections, rules, and imports, including create/read/update/delete, status monitoring, item-level actions, validation, repair, and restore. Minor gaps exist, such as no delete for standalone order connections and limited update capabilities for some entities, but these are workable and do not create dead ends for the core workflows.

Resources