Skip to main content
Glama

Ürün detayı

get_product
Read-onlyIdempotent

Retrieves details for a single Shopier product, including price, stock, variants, and images, so you can inspect item data before ordering or managing inventory.

Instructions

Tek bir ürünün detaylarını getirir (fiyat, stok, varyantlar, görseller).

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": {
      "productId": "<productId>"
    },
    "name": "get_product"
  }
}

Input Schema

NameRequiredDescriptionDefault
productIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.4

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is fully covered by structured data. The description adds the payload contents (price, stock, variants, images), which is useful context, but says nothing about behavior for a nonexistent productId or about response size/cost for products with many variants.

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?

One sentence with zero filler, the verb+resource first and the returned field list in parentheses so an agent can skim or dive as needed. Nothing can be removed without losing information.

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 single-parameter read tool with full annotation coverage, the definition supplies the essential missing piece — what the response contains — which effectively stands in for the absent output schema. The only meaningful gap is identifier format and failure behavior, which is modest for a tool this simple.

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 0% for the single productId parameter, so the schema only supplies the name and a minLength of 1. The description partially compensates by making clear that exactly one product is addressed, but gives no hint about the identifier's format (numeric vs. string vs. SKU) or where an agent obtains it. Minimum viable.

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 pairs a specific verb ("getirir" – retrieves) with a specific resource ("tek bir ürün" – a single product), and the word "tek" implicitly separates it from a bulk list operation. It does not name list_products or any other sibling explicitly, so differentiation is implied rather than stated.

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: "tek bir ürün" signals this is the per-item lookup rather than a listing, which lets an agent infer when to pick it over list_products. There is no explicit when-to-use statement, no prerequisites, and no stated alternative for cases where the product identifier is unknown.

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