Skip to main content
Glama

Check a paid gallery's sales

tarkle_get_gallery_status
Read-onlyIdempotent

Show a paid gallery's sales (galleryId from tarkle_create_gallery): its gallery and pay links, price, and every purchase (status completed or refunded, amount, currency, buyer name and email, paid_at, access_until). Only a completed purchase means the client paid; never tell the user someone paid without one. Not useful on a free gallery -- it has no purchases.

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": {
      "workspaceId": "<workspaceId>",
      "galleryId": "<galleryId>"
    },
    "name": "tarkle_get_gallery_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
galleryIdYesThe gallery's id, from tarkle_create_gallery.
llm_modelNoThe model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics.
workspaceIdYesThe workspace's id, from tarkle_list_workspaces.

Output Schema

NameRequiredDescriptionDefault
idNo
paidNo
slugNo
priceNo
titleNo
pay_urlNo
currencyNo
disabledNo
purchasesNo
watermarkNo
created_atNo
gallery_urlNo
photo_countNo
preview_modeNo
preview_countNo

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare this read-only, idempotent and non-destructive, so the description need only add semantic context -- and it does, with the critical rule that only a completed purchase means the client paid and a warning never to claim payment otherwise. The purchase status/field enumeration is partly redundant with the output schema, keeping it below 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?

Three sentences, front-loaded with the purpose and closing with the usage caveat; the middle sentence's field list is somewhat verbose given an output schema already describes the return shape.

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 read-only status tool with full schema coverage and an output schema, the description supplies exactly the missing pieces: when it applies, what a completed purchase means, and the anti-fabrication guardrail for reporting payment.

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%, with galleryId and workspaceId provenance documented in the schema itself, so the description's mention of galleryId from tarkle_create_gallery adds nothing new. No format or constraint detail (e.g. the numeric id pattern) is contributed beyond structured data.

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 opens with a concrete verb and resource ('Show a paid gallery's sales') and immediately enumerates what is included (links, price, purchases), so the agent can distinguish it from sibling getters 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?

It states the negative condition explicitly ('Not useful on a free gallery -- it has no purchases') and ties the required galleryId to its producer, tarkle_create_gallery. It doesn't name a competing alternative for purchase data, but the when-not guidance is clear.

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.