Skip to main content
Glama

Get Supplier's Fabric Catalog

get_supplier_fabrics
Read-onlyIdempotent

Retrieve fabric catalog with quoted prices and minimum order quantities from a specific fashion supplier in the mrc-data supply chain database.

Instructions

List all fabrics a specific supplier can provide, with quoted prices.

USE WHEN user asks:

  • "what fabrics does [supplier name] have" / "what can this factory source for me"

  • "show me the catalog of supplier sup_XXX"

  • "what does this manufacturer offer"

Returns fabric records linked to the supplier with: fabric name, category, weight, composition, and the supplier's quoted price + MOQ for that specific fabric.

PREREQUISITE: You MUST have a valid supplier_id from search_suppliers or get_supplier_detail. WORKFLOW: search_suppliers → get_supplier_detail → get_supplier_fabrics (to see their fabric catalog). RETURNS: { supplier_id, count, data: [{ fabric_id, name_cn, category, weight, composition, price_rmb, moq }] } ERRORS: Returns count=0 if supplier has no linked fabrics.

中文:查询某供应商能供应的所有面料及其报价、起订量。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
supplier_idYesSupplier ID from search_suppliers, e.g. sup_001
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and idempotentHint=true, covering safety and idempotency. The description adds valuable behavioral context beyond annotations: it specifies the return structure in detail, mentions the count=0 behavior for empty results, and clarifies that prices are supplier-specific quotes. However, it doesn't mention rate limits or authentication requirements.

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?

The description is efficiently structured with clear sections (purpose, usage examples, prerequisite, workflow, returns, errors) and zero redundant information. Every sentence serves a distinct purpose: the first states core functionality, subsequent sections provide practical guidance, and the Chinese translation adds localization without duplication.

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 catalog tool with good annotations and no output schema, the description provides complete context: clear purpose, usage guidelines, prerequisite, workflow integration, detailed return structure, and error behavior. The combination of annotations (safety profile) and description (operational context) gives the agent everything needed to use this tool effectively.

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 a single well-documented parameter (supplier_id). The description reinforces the parameter's purpose by stating it's 'from search_suppliers' and providing example format 'sup_001', but doesn't add significant semantic value beyond what the schema already provides. Baseline 3 is appropriate given high schema coverage.

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 clearly states the tool's purpose with specific verb ('List all fabrics') and resource ('a specific supplier'), including the scope ('with quoted prices'). It distinguishes from siblings like get_fabric_detail (individual fabric) and search_fabrics (general search) by focusing on supplier-specific catalog retrieval.

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?

The description provides explicit usage guidance with 'USE WHEN' examples for three query patterns and a clear workflow sequence (search_suppliers → get_supplier_detail → get_supplier_fabrics). It also specifies a prerequisite ('MUST have a valid supplier_id') and mentions alternative tools (search_suppliers, get_supplier_detail) in the workflow context.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/meacheal-ai/mrc-data'

If you have feedback or need assistance with the MCP directory API, please join our Discord server