Skip to main content
Glama

Resolve what a URL or @handle points at

resolve_target
Read-only

Turn a profile URL, post URL, website or @handle into what socially would read: the platform, the kind (profile, post, website), the normalized handle and the one canonical URL. No egress, no credit. Use it to validate input before a metered lookup.

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": {
      "input": "<input>"
    },
    "name": "resolve_target"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYesA profile URL, post URL, website or @handle.
platformNoRequired when `input` is a bare handle.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, but the description adds context those fields do not convey: 'No egress, no credit' tells the agent this call is free and does not touch external systems, which matters when deciding whether to call it ahead of a paid lookup. It stops short of describing latency, failure modes, or what happens on unresolvable input.

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?

Three short, front-loaded sentences with zero filler; the output shape comes first and the usage rule last. The phrase 'what socially would read' is slightly awkward and costs a little immediacy, but nothing is redundant.

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?

For a two-parameter read-only tool with no output schema, the description covers the gap well by enumerating the return fields, asserting the zero-cost/no-egress behavior, and stating its role relative to metered lookups. An agent has everything needed to decide to call it and interpret the result.

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%, and the schema already documents both 'input' and the conditional requirement for 'platform' on bare handles. The description restates the accepted input forms but adds no format details, examples, or resolution rules beyond the schema, so it sits at the baseline.

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 transformation verb ('Turn ... into') with the accepted input forms (profile URL, post URL, website, @handle) and enumerates the exact output fields: platform, kind, normalized handle, canonical URL. This is clearly distinct from the sibling lookup_/search_ tools, which perform metered data retrieval.

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?

'Use it to validate input before a metered lookup' gives an explicit, actionable when-to-use condition tied to a concrete decision (pre-flight validation before spending credits). No explicit when-not or naming of the specific metered siblings, which keeps it short of a 5.

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.

Resources