Skip to main content
Glama

Sell Ltd Marketplace

validate_listing

Read-onlyIdempotent

Return missing publication fields and advertising eligibility. Requires connected account authorization with account:read.

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": {
      "listingId": "<listingId>"
    },
    "name": "validate_listing"
  }
}

Input Schema

NameRequiredDescriptionDefault
listingIdYes

Output Schema

NameRequiredDescriptionDefault
validYes
issuesYes
missingYes
trialEligibleYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, closed-world, non-destructive behavior, so the bar is lower. The description adds genuinely useful context beyond them by stating the authorization prerequisite (connected account with account:read scope), which an agent needs before invoking.

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 compact sentences with zero filler; the primary behavior is front-loaded and the authorization requirement follows immediately. Nothing is repeated from the annotations or schema.

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 is simple (one param), an output schema exists so return values needn't be explained, and the auth prerequisite is disclosed. It could say slightly more about what 'advertising eligibility' entails, but nothing an agent needs in order to call it correctly 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?

There is a single required parameter, listingId, with 0% schema description coverage; the description adds no meaning about it. The parameter name plus the uuid format make intent largely self-evident, so this is adequate but adds nothing beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('Return') with two concrete outputs: missing publication fields and advertising eligibility. It is clearly distinct from publish_listing or get_listing by virtue of being a validation/readiness check, though it never names a sibling to contrast against.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: the phrase 'missing publication fields' suggests calling this before publishing to check readiness, but the description never states when to use it, when not to, or which alternative (e.g. get_listing) covers plain retrieval. The agent must infer the pre-publish context.

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