Skip to main content
Glama

parse_url

Extract every URL from pasted share text and return normalized media metadata: platform, author, caption, direct streams, and no-watermark status, without downloading any bytes.

Instructions

Extract every URL from pasted share text and return normalized media metadata (platform, author, caption, direct streams, no-watermark status). Does not download any bytes.

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": {
      "text": "<text>"
    },
    "name": "parse_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose key traits: it is a non-fetching operation ('Does not download any bytes') and it enumerates the returned metadata including no-watermark status. It stops short of stating network/auth requirements, rate limits, or behavior when no URL is found in the text.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

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

Two tight sentences: the action and return shape come first, and the non-download disclaimer is placed last where it functions as a disambiguator. No filler wording to trim.

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?

There is no output schema, and the description compensates by naming the returned fields (platform, author, caption, direct streams, no-watermark status). For a single-input tool this is close to complete, with only edge-case behavior for malformed or URL-free text left unspecified.

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 0% and the single parameter is a bare 'Text' string, so the description must compensate. It does clarify that the value is pasted share text that may contain multiple URLs ('Extract every URL'), which is useful, but it gives no format or length expectations for the input.

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?

States a specific verb and resource ('Extract every URL from pasted share text') plus what is returned ('normalized media metadata' with named fields). The closing clause 'Does not download any bytes' implicitly separates it from the sibling 'download', so an agent can route without opening the 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 input is described as 'pasted share text', which implies the when-to-use context (user pastes a share blob rather than a single clean link). However, no alternative tool is named and no explicit exclusion or prerequisite is given, so the routing guidance is inferred rather than stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.