Skip to main content
Glama

cps_jd_convert

CPS JD: convert a JD materialUrl into an affiliate link with our positionId. User taps the link, buys in JD app, commission tracked. Read-only.

Input Schema

NameRequiredDescriptionDefault
client_refNoyour end-user id ([A-Za-z0-9-], <=40). Embedded in the affiliate link; returned in your order records so you can reward your own users. We never interpret it.
material_urlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the read-only nature and the tracked-commission behavior. It omits other material traits an agent would want: authentication requirements, rate limits, link expiry, and failure behavior for malformed URLs.

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?

Three short sentences, front-loaded with the core conversion action, and every sentence adds something (result, workflow, safety). The 'CPS JD:' prefix is mildly redundant with the tool name but costs little.

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?

For a 2-parameter tool with no output schema and no annotations, the description covers the intent but not the return shape — it is unclear whether the response is a bare link string or an object with additional fields (e.g., the returned client_ref trace). That is the main missing piece.

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 50%: client_ref is well documented in the schema itself, while material_url has no schema description — the tool description partially fills that gap by naming it as a JD material URL and by clarifying that positionId is server-side rather than a caller parameter. Still no format or validity rules for the URL, so it stays at the baseline.

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 names a specific verb and resource ('convert a JD materialUrl into an affiliate link') and identifies the platform (JD), which cleanly disambiguates it from cps_pdd_convert, cps_eleme_convert, and the other CPS siblings. It also states the mechanism (our positionId) and the downstream business effect (commission tracked), so an agent can distinguish it without opening any schema.

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?

The workflow sentence ('User taps the link, buys in JD app, commission tracked') implies the scenario for using this tool, which is useful. However, it never states when to prefer it over a sibling converter, what preconditions the materialUrl must satisfy, or what happens when the URL is not a valid JD item — usage must be inferred.

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