Skip to main content
Glama

refine_url

Fetch a noisy web URL and convert it into strict, schema-validated structured data with semantic diffing, using optional vertical and extraction instructions.

Instructions

Fetch and refine a noisy web URL into strict, schema-validated structured data with semantic diffing.

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": {
      "url": "<url>"
    },
    "name": "refine_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesTarget HTTPS URL to fetch and refine
verticalNoTarget schema vertical (e.g. 'dev', 'pricing', 'regulatory', or custom schema ID)
instructionNoOptional extraction instructions

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It discloses that the URL is fetched over HTTPS and output is schema-validated, but it says nothing about network access, rate limits, cost, authentication, failure modes, or what 'semantic diffing' compares against. For an external-fetch tool with zero annotation coverage, that is a significant gap.

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?

It is a single front-loaded sentence with no filler, and the verb and resource come first. The only weakness is that the unexplained 'semantic diffing' clause consumes space without adding usable meaning.

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?

There is no output schema and no annotations, so the description should explain the return shape more concretely than 'structured data'. It conveys that output is schema-validated but leaves the diff semantics and the vertical concept opaque. It is adequate for a three-parameter fetch tool, but it is not complete.

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 100%, so all three parameters (url, vertical, instruction) are already documented in the schema. The description adds only the qualitative notion of a 'noisy' URL and does not elaborate on what 'vertical', or a custom schema ID, implies for behavior. Baseline 3 is appropriate because the schema does the heavy lifting.

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 gives a specific verb and resource: fetch a noisy web URL and refine it into schema-validated structured data. That is far more informative than the bare name. However, 'semantic diffing' muddies the purpose, since it is unclear whether the tool returns a diff, a refined record, or both, and nothing distinguishes it from siblings such as get_diff.

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?

The description says what the tool does but never says when to choose it over get_diff, get_entity, search, or list_changes. There are no exclusions, prerequisites, or routing conditions, so the agent must infer usage from the tool name alone.

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