Skip to main content
Glama

get_entities

Read-onlyIdempotent

campaigns|ad_groups|ads|targets|portfolios: Ads v1 objects {campaigns|adGroups|ads|targets|portfolios: [...], nextToken}; negative targets: negative=true; all states unless filtered. assets: {assetList, token}, newest asset version, assets gone from Amazon omitted. campaign_settings: compact rows: name, state, budget, bid strategy, placement adjustments. campaign_details: one campaign's config, performance, ad groups with targets, top search terms, negative targets; money in profile's native currency. brand_store_page: DRAFT widgets, ASIN lists with path + widgetTag for ads.brand_store.update_page_asins; page ids: dataset amazon_brand_store_page_snapshot. Read before/after submit_mutation.

Input Schema

NameRequiredDescriptionDefault
idsNoassets: amzn1.assetlibrary.* ids; campaign_details/brand_store_page: one id.
tagsNoassets only.
textNoassets only. Name contains, or exact tag or ASIN.
asinsNoassets only.
entityYes
formatNocampaign_settings: Agent default: JSON for <=10 fetched rows, otherwise compact {columns,rows}.
offsetNocampaign_settings: skip N rows.
statesNoACTIVE/PROCESSING: assets only; campaign_settings: one.
targetNoFrom get_session_context targets: kind:account[:unit].
columnsNocampaign_settings: Output column names as an array or comma-separated string.
endDateNocampaign_details: End date YYYY-MM-DD (default: today).
idOffsetNoLinked-id page.
negativeNotargets only.
nextTokenNo
startDateNocampaign_details: Start date YYYY-MM-DD (default: 30 days ago).
ad_productNo
edition_idNobrand_store_page: edition.default
maxResultsNoDefault 50, or len(ids); campaign_settings: 25, max 500.
asset_typesNoassets only.
ad_group_idsNo
all_versionsNoassets only. Default: newest version per asset.
campaign_idsNo
widget_limitNobrand_store_page: 1-200 widgets.
include_staleNoassets only. Include assets gone from Amazon (not synced for 48h).
portfolio_idsNocampaigns only.
widget_offsetNobrand_store_page: skip N widgets.
asset_sub_typesNoassets only.
brand_entity_idNobrand_store_page: only if page id is in several stores.
searchTermLimitNocampaign_details: Max search terms to return (default 10).
approved_programsNoassets only. specCheckApprovedPrograms, e.g. STORES_VIDEO_TILE.
includeSearchTermsNocampaign_details: Include top search terms (default true).
include_renditionsNoassets only. All processedUrls, not the 4 useful ones.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent, non-destructive, closed-world behavior, and the description adds real value on top: default 'all states unless filtered', stale assets omitted unless include_stale, only newest asset version by default, DRAFT widgets for brand_store_page, and money returned in the profile's native currency. These defaults are the sort of behavior an agent could not infer from the schema, though return shape details remain thin for some entities.

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?

It is telegraphic and dense but well front-loaded: each clause opens with the entity name it governs, so an agent can scan to the relevant segment. The brace-and-pipe notation for Ads v1 objects is cryptically compressed, but it is concise with essentially no filler.

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?

For a 32-parameter polymorphic read tool with no output schema, the description carries the return-shape burden and does so per entity (object envelope with nextToken for Ads v1 objects, columns/rows for campaign_settings, config+performance+search terms for campaign_details). A few entity/parameter interactions (pagination via idOffset, id filtering on ads/targets) remain unstated, so it stops short of completely self-contained.

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

Parameters4/5

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

With 84% schema coverage the baseline is 3, and the description earns a bump by mapping parameters to entities: negative=true for negative targets, ids for assets/campaign_details/brand_store_page, entity-specific states, and path+widgetTag linkage to ads.brand_store.update_page_asins. Some params (ad_group_ids, campaign_ids, nextToken, idOffset) are left to the schema, so it is not exhaustive.

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 enumerates every entity value (campaigns, ad_groups, ads, targets, portfolios, assets, campaign_settings, campaign_details, brand_store_page) and states what each returns, so an agent can tell which read it gets. The verb is only implied ('get'/'Read'), and nothing distinguishes it from siblings like query or run_query, which keeps it from a 5.

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?

'Read before/after submit_mutation' is the only explicit usage directive, and it correctly frames this as a read-before-write/verify tool. There is no guidance on when to prefer get_entities over query, run_query, or get_report, and no stated preconditions, so usage is implied rather than spelled out.

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