Skip to main content
Glama

Confita

Get one listing

get_listing
Read-onlyIdempotent

For shop owners: one listing in full, in the shape save_listing takes: names, price, deposit, notice and limits, option groups with every choice's id, price and stock, questions, and revision. Use it for the exact option names an order line takes, or before changing the listing.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "listing": "<listing>"
    },
    "name": "get_listing"
  }
}

Input Schema

NameRequiredDescriptionDefault
listingYesThe listing by name, in any of the shop's languages, or id (lst_...).

Output Schema

NameRequiredDescriptionDefault
idNo
nameNo
nextNo
soldNo
tagsNo
errorNo
imageNo
priceNo
quoteNo
stockNo
imagesNo
statusNo
choicesNo
depositNo
max_qtyNo
min_qtyNo
on_menuNo
optionsNo
outcomeNo
categoryNo
featuredNo
revisionNo
timezoneNo
questionsNo
order_modeNo
cutoff_timeNo
daily_limitNo
descriptionNo
notice_daysNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered. The description adds real value beyond them: it scopes the tool to shop owners, enumerates what is returned (option ids, prices, stock, questions) and calls out `revision`, which signals the record is versioned and should be re-read before a save.

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?

Two sentences, front-loaded with audience and scope, then the return shape, then the use cases. The field enumeration is dense but each item is load-bearing because it defines the contract save_listing expects.

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?

For a single-record read with an output schema, annotations covering safety and idempotency, and a fully documented parameter, the description supplies everything an agent needs: scope, contents and the reason to call it. Return-value documentation is correctly left to the output schema.

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 coverage is 100%: the `listing` parameter is already documented as name-in-any-language or lst_ id. The description adds no syntax or format detail for that parameter, so the baseline 3 applies.

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 ('one listing in full') and pins down the returned shape, explicitly tying it to 'the shape save_listing takes'. That contrast with save_listing, plus 'one' versus the find_listings family, lets an agent identify the tool without opening the schema.

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?

Gives two concrete triggers: retrieving 'the exact option names an order line takes' and fetching the record 'before changing the listing'. It stops short of naming a when-not case or pointing to find_listings for lookup-by-criteria, so it is clear but not exhaustive.

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