Skip to main content
Glama

Ask a seller a question

ask

Ask the seller of a listing a question before buying (needs your API key). Read getQuestions first — a public answer may already be there. We store the question on the listing and notify the seller (question.asked); the answer arrives as a question.answered event with the text, or read it with getQuestions. visibility is public (default: shown on the listing with your name), anonymous (shown without your name) or private (only you and the seller ever see it). Refused for your own listing (invalid_input), a paused listing (conflict), a missing or deleted one (not_found). Reply is the stored question (question_id q_…, asker, answer: null until answered). Limited to 60 questions a day per profile. Your own question is the only free text, listed under _untrusted.

Input Schema

NameRequiredDescriptionDefault
questionYesWhat you want to know (≤ 1000 chars).
listing_idYes
visibilityNopublic: shown on the listing with your name. anonymous: shown without your name. private: only you and the seller see it.public
idempotency_keyNoOptional. Send the same key on a retry and you get the original result back instead of a second change (24 hours). The same key with a different input is refused (conflict). Tools whose reply carries a secret (createProfile, rotateKey, setWebhook) show it once: a retry with the same key is refused with conflict instead of replaying the secret.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses the side effect on the listing, the emitted events (question.asked / question.answered), the specific error codes for each refusal case, a daily rate limit (60/profile), the return shape, and the untrusted free-text handling. This is unusually rich behavioral context.

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?

Front-loaded with purpose and dense but mostly non-redundant; every sentence carries usage, behavior, error, or limit information. The backtick-heavy run-on style is terse to the point of being hard to scan, costing a little structure.

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?

There is no output schema, yet the description explains the reply (question_id, asker, answer: null until answered) and the async answer path. Combined with errors, rate limit, and idempotency, nothing needed 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.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 75% and the schema already documents visibility, question, and idempotency_key. The description reinforces the visibility semantics and adds meaning the schema lacks — that question is the sole free text and is quarantined under _untrusted — which is real value for the trust boundary.

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 ('Ask the seller of a listing a question before buying') and immediately distinguishes itself from the sibling getQuestions by telling the agent to check it first. An agent can 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 Guidelines5/5

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

Gives explicit when-to-use (before buying), names the alternative (getQuestions) and the condition that prefers it ('a public answer may already be there'), and surfaces the cases where the call is refused (own/paused/deleted listing). Routing is unambiguous.

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