Skip to main content
Glama

list_inventory

Read-onlyIdempotent

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
geoNoISO 3166-1 alpha-2 country code. Matches slots whose publisher-declared geo_targets contain this market (case-insensitive).
slot_typeNoFilter by slot type
max_resultsNoMaximum results (default: 20)
publisher_idNoFilter by publisher UUID
pricing_modelNoFilter by pricing model

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / geo / description
      Previous value: -"ISO 3166-1 alpha-2 country code"New value: +"ISO 3166-1 alpha-2 country code. Matches slots whose publisher-declared geo_targets contain this market (case-insensitive)."
  2. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is clear. The description adds behavioral context by stating it returns 'available' slots and describing the output content (name, type, floor price, pricing models, capacity, geo targets, status). It also notes filtering by publisher_id, slot_type, pricing_model, or geo, which goes beyond the annotations.

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, output_format). Every section is relevant and adds value: the tool description is one sentence, when_to_use is two short lines, combination_hints gives workflow, and output_format lists return fields. No wasted words.

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?

With 5 optional params fully documented in the schema, no output schema, and a straightforward list operation, the description provides a complete picture: what it lists, when to use, how it fits into the workflow, and what the response includes. No critical information is missing.

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% with detailed parameter descriptions (e.g., geo field explains ISO code and matching behavior). The description only repeats 'Filter by publisher_id, slot_type, pricing_model, or geo' without adding new semantic meaning. Per baseline, when schema covers all parameters, a score of 3 is appropriate.

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 explicitly states 'List available publisher inventory slots for programmatic media buying' with a specific verb and resource. It clearly distinguishes from siblings like get_inventory_item by focusing on listing all slots vs. single-item detail, and names the output (ad slots with pricing, rules, capacity).

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 'when_to_use' section explicitly positions this tool 'Before create_media_buy' and for 'browse publisher ad inventory for campaign planning.' The combination_hints further clarify the flow: list_inventory → get_inventory_item → create_media_buy, and mention filtering options. This is strong contextual guidance.

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.