Skip to main content
Glama

Resolve host & abuse contact

resolve_host
Read-only

Look up who hosts a URL and where an abuse/takedown notice would go. Identifies the CDN/proxy in front (e.g. Cloudflare), the platform, or the direct host and its abuse contact. For direct hosts and previously-revealed domains it returns the real host immediately; for a domain hidden behind a proxy it explains that revealing the true host requires initiating an abuse report. Read-only; files nothing. A lookup, not legal advice; it does not guarantee removal. The url is the site to look up, not an API endpoint: the lookup runs on Lawyerd's own host-resolution API (documentation: https://mcp.lawyerd.net/).

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

Input Schema

NameRequiredDescriptionDefault
urlYesThe infringing URL or bare domain

Output Schema

NameRequiredDescriptionDefault
urlYes
hostYes
proxyYes
domainYes
nextStepYes
platformYes
frontedByYes
revealSourceYes
takedownRouteYes
realHostHiddenYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered; the description adds genuinely new behavior: direct hosts and previously-revealed domains return the real host immediately, while proxied domains explain that revealing the true host requires initiating an abuse report. It also discloses that the lookup runs on Lawyerd's own resolution API rather than the target, which prevents a costly endpoint misunderstanding. Missing only operational details such as rate limits or latency.

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?

Front-loaded with the core action and outcome, followed by conditional behavior disclosure and then caveats. Every sentence carries information, though the disclaimers ('not legal advice', 'does not guarantee removal') sit slightly ahead of the more decision-relevant conditional behavior.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need no explanation; the description instead covers the non-obvious parts — endpoint confusion, the proxied-domain branch, and the read-only, non-filing nature. Complete for a single-parameter read-only lookup.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With one parameter at 100% schema coverage the schema already defines the field, so the baseline would be 3. The description earns more by disambiguating it: 'The url is the site to look up, not an API endpoint', which preempts the most likely misfire when an agent sees a host-resolution tool.

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: 'Look up who hosts a URL and where an abuse/takedown notice would go', then enumerates the outcomes (CDN/proxy, platform, direct host plus abuse contact). It is clearly distinguishable from the takedown-action siblings, and 'Read-only; files nothing' reinforces that this is the reconnaissance step rather than an action.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description establishes the context of use (identifying where an abuse notice would go) and clarifies the boundary — a lookup, not legal advice, no guarantee of removal. It does not explicitly say 'use this before start_takedown' or name a sibling alternative, so routing is implied rather than spelled out.

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.