Skip to main content
Glama

audit_semantic_cocoon

Read-onlyIdempotent

Audit internal link anchors, click depth, orphan pages, and semantic cocoon hub/supporting structure without crawling URLs.

Instructions

Audit internal link anchors, click depth, orphan pages and semantic cocoon hub/supporting structure without crawling URLs.

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": {
      "siteUrl": "<siteUrl>",
      "pages": "<pages>"
    },
    "name": "audit_semantic_cocoon"
  }
}

Input Schema

NameRequiredDescriptionDefault
pagesYes
rootUrlNo
siteUrlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true, and openWorldHint=false, so safety and determinism are covered. The description adds the meaningful constraint that data is analyzed from supplied input rather than fetched, but says nothing about what the audit returns (issue list? scores? per-page findings) or any thresholds used.

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?

A single compact sentence with the verb front-loaded and no filler. The dense enumerated list is efficient, though the four audit dimensions are not separated from the 'without crawling' qualifier, slightly blurring the reading order.

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 three-parameter analysis tool with no output schema and no parameter descriptions, the definition covers scope and the no-crawl contract but not the result shape or how siteUrl/rootUrl differ. Adequate to select the tool, thin for invoking it correctly on first try.

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%, so the description must compensate and it only partially does: 'link anchors' maps to the nested links.anchor field and 'hub/supporting structure' maps to the kind enum. It leaves siteUrl versus rootUrl, the pages array cap, and the cluster/title fields unexplained, so an agent still has to infer the shape essentially from the schema.

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 (Audit) with a concrete checklist of resources: internal link anchors, click depth, orphan pages, and cocoon hub/supporting structure. The clause 'without crawling URLs' separates it from crawl-based siblings like audit_blog_links or audit_live_crawl_hreflang, though it never names an alternative explicitly.

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 phrase 'without crawling URLs' implies the agent must supply page/link data itself rather than point at a site, which is a useful precondition. However, there is no explicit when-to-use versus when-not, and no routing to plan_cocoon_anchors for remediation planning versus this audit.

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