Skip to main content
Glama

Url Handle

url_handle
Read-onlyIdempotent

Turn a product title into a valid, unique Shopify URL handle. FREE.

Shopify handles are lowercase, may contain letters, numbers and dashes, and may not contain spaces. Typical input {"title": "Men's Merino Wool Socks (2-Pack)"} returns {"handle": "mens-merino-wool-socks-2-pack", "valid": true, "changed": true, "collisions": []}.

Use when generating handles for an import, or checking one you already have. Not for validating a whole header row — that is product_csv_check. Errors: on invalid, missing, or malformed input this tool never raises a protocol error — it returns {"error": ""} (for example {"error": "title must not be empty"}). Every call is read-only and idempotent, so after correcting the input it is always safe to retry.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleYesThe product title or a candidate handle, e.g. "Men's Merino Wool Socks".
existingNoHandles already used in the store or the file, so a collision can be reported and a suffixed alternative suggested. Optional.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false. The description reinforces these but adds genuinely new behavioral context: the error-handling contract ('never raises a protocol error — it returns {"error": ...}') and safety of retry. No contradiction found.

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?

Well-structured and front-loaded with purpose, then format rules, example, usage guidance, errors, and idempotency. Slightly long with a few elements (FREE, format rules) that are not strictly necessary, but every sentence earns its place overall.

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 2-param tool with 100% schema coverage, an output schema, and strong annotations, the description is comprehensive: purpose, format constraints, worked example, usage boundaries, error behavior, and idempotency. The output schema covers return values so no duplication needed.

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 coverage is 100% for both params, so baseline is 3. The description's worked example illustrates how title transforms into a handle and shows the collisions array, but the schema already documents both parameters thoroughly. The example adds modest illustrative value without deep new semantics.

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 opens with a specific verb+resource: 'Turn a product title into a valid, unique Shopify URL handle.' It provides format rules (lowercase, letters/numbers/dashes) and a concrete worked example, and explicitly distinguishes itself from the sibling product_csv_check ('Not for validating a whole header row').

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?

Explicitly states when to use ('when generating handles for an import, or checking one you already have') and when not to ('Not for validating a whole header row — that is product_csv_check'), naming the exact alternative sibling tool.

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.

TDQS

A4.7/5.0
Disambiguation5/5

Each tool serves a distinct purpose (pricing, metafields, payouts, CSV headers, URL handles, variant counts) with no overlap in functionality. Descriptions clearly delineate scope and typical use cases.

Naming Consistency5/5

All tool names follow a consistent snake_case pattern with descriptive noun+verb or compound noun structures (e.g., bulk_price_change, metafield_key_check). No stylistic inconsistencies.

Tool Count5/5

Six tools is a well-scoped set for a Shopify preparation server, covering essential tasks without redundancy or unnecessary bloat. Each tool addresses a specific preparation need.

Completeness5/5

The toolset covers the core preparation workflows: pricing adjustments, metafield validation, payout estimation, CSV format checking, URL handle generation, and variant limit assessment. No obvious gaps for the stated domain.

Resources