Skip to main content
Glama

track_enriched_snippet

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agent_idNoAgent identifier
data_fieldsYesData fields delivered in the snippet
media_buy_idYesMedia buy UUID
signals_usedNoPublisher signals that triggered this snippet (e.g. nx_category:food). Stored as JSONB on the impression row.
snippet_typeYesEnriched snippet tier
brand_content_idNoBrand content UUID that was delivered. When provided, the snippet is also recorded in enriched_snippet_impressions for analytics.

TDQS

A4.4/5.0
Behavior4/5

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

The description discloses key behavioral side effects: billing the advertiser, creating a ledger entry, and decrementing the media buy budget. It also specifies the output format (Event ID, charged amount, etc.). These go beyond the annotation flags (readOnlyHint=false, destructiveHint=false) and provide useful context about the financial impact. However, it could be more explicit about irreversibility or idempotency, though the annotations partially cover this.

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?

The description is well-structured with clear sections: tool_description, when_to_use, combination_hints, and output_format. Each section is concise and directly useful, with no redundant or filler content. The main purpose is front-loaded in the first sentence, making it easy for an agent to quickly grasp the tool's function.

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?

The tool has 6 parameters, nested objects, and no output schema, so the description needs to cover return values and usage context. It does this by providing an output format (Event ID, charged amount, etc.) and workflow hints. It also mentions the ledger entry and budget decrement side effects. However, it does not explain what happens if `brand_content_id` is omitted or edge cases like partial data delivery, which could be useful but are not critical given the schema coverage.

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?

The input schema descriptions cover 100% of the parameters, so the baseline is 3. The description adds value by explaining how `snippet_type` maps to billing tiers (basic: 10¢, etc.), which clarifies the semantic meaning of that parameter beyond its enum values. It also hints at the purpose of `brand_content_id` (for analytics) indirectly through the billing context, though the schema already describes that. Overall, it enhances parameter understanding.

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 clearly states the tool's function: 'Track delivery of an enriched snippet and bill the advertiser. Creates a ledger entry and decrements the media buy budget.' This uses a specific verb (track/bill) and resource (enriched snippet, media buy), distinguishing it from siblings like activate or get_campaign_report which serve different purposes.

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?

The `when_to_use` section explicitly states when to use the tool ('When an agent delivers enriched content from a media buy') and provides tier-based billing details. The `combination_hints` further clarify workflow with activate and get_campaign_report. However, it does not explicitly state when NOT to use it or name alternative tools for related scenarios, so it misses the full 'when-not/alternatives' criteria.

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.4/5.0
Disambiguation4/5

Most tools have distinct purposes, but there is some overlap between get_product and nexbid_product, which are explicitly described as aliases, and between list_products and nexbid_search with content_type='product'. This could cause confusion, though descriptions help clarify. Other tools like activate, pause, and cancel are well-differentiated for media buy lifecycle management.

Naming Consistency3/5

The naming is mixed with no consistent pattern. Some tools use verb_noun (e.g., create_media_buy, list_inventory), others use noun_verb (e.g., nexbid_search, nexbid_purchase), and some are single verbs (e.g., activate, pause, cancel). While readable, the lack of a uniform convention across the set reduces predictability.

Tool Count4/5

With 19 tools, the count is on the higher side but reasonable for the dual domains of media buying and marketplace discovery. It covers operations like listing, creating, managing, and reporting, which justifies the number. However, it borders on feeling heavy, especially with overlapping tools like get_product and nexbid_product.

Completeness5/5

The tool set provides comprehensive coverage for both media buying (create, submit, activate, pause, cancel, track, settle, report, compliance) and marketplace discovery (search, categories, product details, purchase, order status). There are no obvious gaps; workflows are well-supported with clear combination hints, ensuring agents can handle end-to-end tasks without dead ends.