Skip to main content
Glama

analyze_url_structure

Read-onlyIdempotent

Check a URL for SEO best practices like length, depth, HTTPS, casing, hyphens, non-ASCII characters, query parameters and trailing slashes, returning per-check results and a score.

Instructions

Analyze a URL for SEO best practices. Checks length, depth, HTTPS, uppercase letters, underscores vs hyphens, non-ASCII characters, query parameters, file extensions, double slashes, and trailing slash consistency. Returns per-check results and a score.

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": "analyze_url_structure"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe URL to analyze.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.1

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so safety is covered. The description adds real value by listing the eleven checks performed and disclosing the return shape (per-check results plus a score), which tells the agent exactly what analysis it gets back.

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?

Three sentences, each earning its place: purpose first, check inventory second, return shape last. No filler and no repetition of the tool name.

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?

For a one-parameter, read-only analyzer with no output schema, the definition covers what it does and roughly what comes back. Minor gaps remain — no indication of the score scale or whether failures make the call error out — but nothing that would block a correct invocation.

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?

With a single parameter at 100% schema coverage, the schema already fully documents `url`. The description adds only indirect meaning — that the input is treated as a URL string subject to structural checks rather than a page to be fetched — without specifying accepted formats (absolute vs relative, scheme required).

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?

States a specific verb+resource ("Analyze a URL for SEO best practices") and enumerates the exact checks performed, which lets an agent distinguish it from content-level siblings like analyze_page or analyze_headings. It stops short of explicitly saying it works on the URL string only rather than fetching the page, leaving that separation to be inferred.

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 only implied by the phrase "for SEO best practices" — an agent can guess this is for auditing URL slugs before publishing. There is no explicit when-to-use, no prerequisite, and no named alternative such as analyze_page for full-page SEO auditing.

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