Skip to main content
Glama

Cosmic Good Boy shop

Link to a product

product_link
Read-onlyIdempotent

A link that opens the product page with the given colour and size already chosen.

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": {
      "slug": "<slug>"
    },
    "name": "product_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoShop language for names, copy and linksen
sizeNo
slugYes
colorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.8/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and a closed world, so the safety profile is covered. Beyond that, the description only says the link pre-selects colour and size; it does not say whether the result is a URL or markup, what happens with an unknown slug or colour, or how lang affects the generated link.

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?

One short sentence with no filler, but it is not front-loaded with the action or the required input; leading with what the tool does and what it needs would structure it better.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, so the description should pin down the return value; "a link" is suggestive but not definitive, and the required slug and the enum parameter are unexplained. For a simple four-parameter read-only tool this is borderline adequate but leaves gaps an agent must guess at.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

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

Schema coverage is only 25%, so only lang carries a description. The description implies colour and size affect the link, but it never explains slug — the sole required parameter — and leaves size/color matching semantics (exact strings? size-guide values?) and the lang effect on link generation undocumented.

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 states concretely what the tool produces: a link to the product page with colour and size pre-selected. The purpose is clear, but it is phrased as a noun ("A link…") rather than an action, and it never contrasts with sibling get_product, so the agent must infer that this returns a URL rather than product data.

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?

There is no when-to-use guidance, no mention of prerequisites (e.g. needing a valid product slug), and no pointer to alternatives such as get_product or search_products for obtaining the slug first. The agent gets a description of the artifact but no routing help.

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.

Resources