Skip to main content
Glama

Add Pool Items

add_pool_items

Add license keys, account logins, or invite links to a gated link's item pool so each delivered order can claim one. Provide items inline or via a text file; blanks and duplicates are dropped.

Instructions

Add items (license keys, account logins, invite links…) to a Gated link's pool; each delivered order takes one. Give items or file (a text file, one item per line). Blank lines and repeats are dropped, items over 200 characters are skipped and counted, items already in the pool are counted, not added twice. Sent 100 at a time; a pool holds up to 1000 unused items.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYesThe link's short code (the part after the domain).
fileNoPath to a .txt or .csv file the user named, one item per line (at most 2 MB).
itemsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and delivers unusually rich behavior detail: deduplication of blank lines and repeats, 200-character item limit with skipped items counted, pre-existing pool items counted rather than re-added, batching of 100 per send, and a 1000-item pool cap. It omits permissions/auth requirements and what is returned, which keeps it from a 5.

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?

Compact and front-loaded: purpose first, then input mechanism, then edge-case behavior. The final sentence is somewhat compressed ('Sent 100 at a time; a pool holds up to 1000 unused items') but every clause carries information.

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 mutation tool with no annotations and no output schema, the description covers normalization rules, error-adjacent edge cases, batching, and capacity limits. Missing details are secondary: required permissions and whether partial successes are reported back.

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?

Schema coverage is 67%; `items` carries no schema description, and the description compensates by defining it as the list to add and explaining the either-or relationship with `file` plus the one-item-per-line file convention. It adds real meaning beyond the schema, though it does not echo the code pattern or size limits that the schema already states.

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?

States a specific verb and resource ('Add items ... to a Gated link's pool') and immediately clarifies the domain concept ('each delivered order takes one'), which distinguishes it from sibling read tools like get_pool_stats and list_links.

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?

Explicitly tells the agent that either `items` or `file` must be supplied and explains the file format ('a text file, one item per line'), which resolves the main decision the caller faces. It does not, however, state when not to use this tool or point to an alternative for bulk/other operations.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.