Skip to main content
Glama

Varyasyon seçeneklerini listele

list_selections
Read-onlyIdempotent

Lists variation selections such as S, M, and L, returning the selectionId needed to create product variants and pagination details for page and total records.

Instructions

Varyasyon seçeneklerini listeler (örn. S, M, L). Ürün varyantı oluştururken selectionId burada bulunur. Yanıttaki pagination alanı sayfa ve toplam kayıt sayısını gösterir.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_selections"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoSayfa numarası (varsayılan 1).
limitNoSayfa başına kayıt, en fazla 50 (varsayılan 10).
variationIdNoVaryasyon ID'leri.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.4

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive), so the bar is lower. The description adds one useful behavioral fact: the response contains a pagination field reporting page and total record count, which matters because there is no output schema. Beyond that it says nothing about default page size, maximums, or how filtering behaves.

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 short sentences: purpose first, then the practical use-case link, then the return-format note. No filler and no repetition of schema fields.

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 simple read-only list tool with full schema coverage and no output schema, the description supplies the two things an agent could not infer: what the items represent and that responses are paginated. It would be complete with an explicit note on the default page size at the response level, but 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.

Parameters3/5

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

Schema description coverage is 100%, with page, limit (max 50, default 10), and variationId all documented inline. The description adds no parameter-level detail such as how variationId filtering interacts with pagination, so the schema does all the work and baseline 3 applies.

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?

States a specific verb and resource ('Varyasyon seçeneklerini listeler') and gives a concrete example of the values returned (S, M, L), which lets an agent distinguish this listing from sibling list_* tools. It does not explicitly contrast with list_variations, so the distinction between variation options and variation records is left implicit.

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?

Adds real context for when to reach for this tool: it is the source of the selectionId needed when creating a product variant. That is a clear use-case anchor. It stops short of stating when NOT to use it or naming the sibling list_variations as an alternative.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.