Skip to main content
Glama

FMF Tools Dev Utils

code_url

URL parser + registrable domain (Public Suffix List) ($0.001 per call, paid via MPP on Tempo). Parses up to 100 URLs: scheme, host, port, path, query params as JSON, fragment, public suffix (co.uk, github.io...), registrable domain, subdomain, IP/IDN flags, punycode and a canonical form (lowercase host, default port and tracking params like utm_* removed). HTTP POST https://mpp-utils.fmf-x402.workers.dev/code/url. This MCP wrapper does not settle payment by itself; call with an MPP Payment Authorization header, or use mppx against the HTTP route.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "code_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNo
urlsNo
strip_trackingNodefault true

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full behavioral burden, and it does substantial work: it discloses a per-call price ($0.001 via MPP on Tempo), states that the MCP wrapper does not settle payment itself and requires an MPP Payment Authorization header or an out-of-band mppx call, and caps the batch at 100 URLs. It also reveals normalization behavior (lowercase host, default port and utm_* tracking params removed). Remaining gaps are error behavior and a batch-over-limit response, but the payment and normalization disclosures go well beyond what any structured field supplies.

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 definition is dense and front-loaded, leading with the capability and enumerated outputs before the payment and transport details. Every clause carries information, though the payment boilerplate occupies a large share of the text relative to the parsing semantics, which slightly dilutes the core message.

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?

With no annotations and no output schema, the description must cover both behavior and return shape, and it enumerates the parsed fields in enough detail that an agent knows what it gets back. Cost, transport endpoint, and auth requirements are all stated. The main shortfall is the unexplained interplay between the url and urls parameters for a batch-capable parser.

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 only 33% (only strip_tracking is documented in-schema), so the description must compensate. It adds real meaning — the 100-URL batch ceiling and the fact that tracking params are stripped in the canonical form, which implicitly ties to strip_tracking — but it never explains the relationship between the url and urls properties (mutually exclusive? does urls override url?), leaving the single most consequential parameter decision unresolved.

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 opening phrase 'URL parser + registrable domain (Public Suffix List)' gives a specific verb and resource, and the following clause enumerates the exact outputs (scheme, host, port, path, query params, public suffix, registrable domain, subdomain, IP/IDN flags, punycode, canonical form). That scope makes it clearly distinguishable from siblings like code_jwt, code_hash, or text_slug without opening another 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?

Usage is implied rather than stated: it parses URLs, up to 100 per call, and it names the payment mechanism. There is no explicit when-to-use versus alternatives (e.g., a slug or similarity tool), no stated preconditions beyond the payment header, and no note on when the single-url mode is preferred over the batch mode. The agent can infer the purpose but must guess at routing.

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