Skip to main content
Glama

get_material_purchase_urls

Retrieve purchase URLs (Amazon and manufacturer) for a material by catalog ID. Optionally include a color to personalize the Amazon search link.

Instructions

Get purchase URLs for a material.

        Returns Amazon search links and manufacturer URLs.  If a colour
        is specified, it is substituted into the Amazon search template.

        Args:
            material_id: Catalog ID (e.g. ``"hatchbox_pla"``).
            color: Optional colour for URL personalisation.
        

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
colorNo
material_idYes
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It explains the return types (Amazon search links and manufacturer URLs) and the effect of the color parameter. However, it does not mention any potential failure modes, side effects, 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise, conveying purpose and parameter details in a few sentences. It is front-loaded with the main action, and the args are clearly listed. No redundant information, though it could be slightly more structured.

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?

Given the tool's low complexity (2 parameters, no output schema), the description adequately covers the input parameters and output type (URLs). It explains what the function returns and how parameters affect behavior. It is sufficient for an agent to use the tool correctly.

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 description coverage is 0%, so the description must compensate. It includes an explicit 'Args' section explaining each parameter: material_id as a catalog ID with an example, and color as optional for URL personalization. This adds meaningful context beyond the schema's type information.

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 that the tool retrieves purchase URLs for a material, specifically Amazon search links and manufacturer URLs, and explains color substitution. This effectively distinguishes it from sibling tools like 'get_material' or 'get_material_info' which serve different purposes.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives. It does not mention prerequisites, when not to use it, or how it compares to other material-related tools. The usage context is implied but not explicitly stated.

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/codeofaxel/kiln'

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