Skip to main content
Glama

Create a listing

create_listing

Use this when the user wants to offer a good or service for barter on TraydStar. Publishes a public listing on their account and returns its id. Photos can't be attached here; the user can add them on the website. Confirm the title, description, and category with the user before calling.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindNooffer (default) for something the user has; wanted for something the user is looking for, with want fields describing what they would give
typeYesGOOD for a physical item, SERVICE for work, BOTH if it includes both
draftNotrue saves it unpublished; publish later with set_listing_status
shipsNoThe user will ship it (default false)
titleYesShort name of what is offered
pickupNoCan be handed over in person (default true)
categoryYesThe category it belongs in
conditionNoCondition, for physical goods
want_tagsNoShort tags for what the user wants in exchange
descriptionYesWhat is offered, in the user's words
subcategoryNoA subcategory of that category, if one applies
location_cityNoCity shown on the listing
stated_value_usdNoThe user's own estimate of its value in US dollars, used to match fair trades
want_descriptionNoWhat the user would like in exchange

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
listing_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and openWorldHint=true, so the write/external nature is known. The description adds genuinely new context: the listing becomes publicly visible, it returns an id, and photos cannot be attached through this tool (a real capability limit the agent must relay). It does not discuss auth, rate limits, or moderation side effects.

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?

Three sentences, front-loaded with the trigger condition, then the effect, then the constraint, then the pre-call check. No sentence is redundant and nothing is buried.

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 14-parameter creation tool with a full output schema, the description covers the public-visibility implication, the photo limitation, and the required user confirmation. It leaves the draft/set_listing_status workflow entirely to the schema, which is acceptable, but a brief note on it would have made the definition airtight.

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% and enums are documented, so the schema already carries all parameter meaning. The description only nudges the agent to confirm three of the four required fields (title, description, category) and omits required 'type', adding workflow flavor rather than semantic depth, which lands at the baseline.

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 names a specific verb and resource ('Publishes a public listing on their account') and states the outcome ('returns its id'). It is clearly distinguishable from siblings like update_listing, create_proposal, or save_listing, which do different things to the same domain objects.

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?

It gives a clear trigger ('Use this when the user wants to offer a good or service for barter on TraydStar') plus a pre-call workflow instruction ('Confirm the title, description, and category with the user before calling'). However, it never names an alternative for the adjacent cases (e.g., use update_listing to edit, set_listing_status to publish a draft), so routing is only partially covered.

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.