Skip to main content
Glama

Look up a URI scheme

iana_lookup_uri_scheme
Read-onlyIdempotent

Look up a registered URI scheme. Pass exactly one of scheme (e.g. "mailto"; a trailing ":" or "://" is ignored) or keyword (words matched against scheme names and descriptions). Returns the status — permanent, provisional, or historical — description, references, and well-known URI support.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "iana_lookup_uri_scheme"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoRequested maximum results as a positive safe integer. Values above 500 are clamped to 500 and disclosed as requested_limit and effective_limit. Default 25.
offsetNoNumber of keyword matches to skip; pass the next_offset of the previous response to get the next page. Default 0.
schemeNoExact scheme name, case-insensitive, e.g. "https" (a trailing ":" or "://" is ignored). Pass this or keyword, not both.
statusNoKeep only schemes with this registration status. Applies to both modes.
keywordNoWords matched as whole tokens against scheme names and descriptions, e.g. "websocket". Pass this or scheme, not both.

Output Schema

NameRequiredDescriptionDefault
capNoThe limit applied.
modeNoWhich lookup ran.
errorNoPresent when the call failed. Absent on success.
foundNoTrue when a registered scheme matched.
shownNoResults returned.
noticeNoGuidance on a miss, a cut list, or another condition.
sourceNoProvenance and freshness of the answer.
schemesNoMatching schemes: exact scheme hits first, then registry order.
truncatedNoTrue when more matches exist than were returned.
totalCountNoMatches before the limit was applied.
next_offsetNoPass as offset for the next page; absent on the last.
effective_limitNoThe response limit after clamping, present when clamped.
requested_limitNoThe requested limit, present when clamped.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changed
    • removedInput schema / properties / keyword / maxLength
      Removed value: -100
    • removedInput schema / properties / keyword / minLength
      Removed value: -2
    • addedInput schema / properties / keyword / pattern
      Added value: +"^\\s*(?:\\S[\\s\\S]{0,98}\\S\\s*)?$"
    • addedInput schema / properties / limit / anyOf
      Added value: +[
      +  {
      +    "type": "integer"
      +  },
      +  {
      +    "pattern": "^\\s*(?:\\d{1,16}\\s*)?$",
      +    "type": "string"
      +  }
      +]
    • changedInput schema / properties / limit / description
      Previous value: -"Requested maximum results, 1–1,000,000; values above 100 are clamped to 100 and disclosed as requested_limit and effective_limit. Default 25."New value: +"Requested maximum results as a positive safe integer. Values above 500 are clamped to 500 and disclosed as requested_limit and effective_limit. Default 25."
    • removedInput schema / properties / limit / maximum
      Removed value: -1000000
    • removedInput schema / properties / limit / type
      Removed value: -"integer"
    • addedInput schema / properties / offset / anyOf
      Added value: +[
      +  {
      +    "type": "integer"
      +  },
      +  {
      +    "pattern": "^\\s*(?:\\d{1,15}\\s*)?$",
      +    "type": "string"
      +  }
      +]
    • removedInput schema / properties / offset / type
      Removed value: -"integer"
    • changedInput schema / properties / scheme / pattern
      Previous value: -"^[a-z][a-z0-9+.-]{0,63}$"New value: +"^\\s*(?:[A-Za-z][A-Za-z0-9+.-]{0,63}(?::(?:\\/\\/)?)?\\s*)?$"
  2. Changed4 schema fields changed
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum number of results to return, 1–100. Default 25."New value: +"Requested maximum results, 1–1,000,000; values above 100 are clamped to 100 and disclosed as requested_limit and effective_limit. Default 25."
    • changedInput schema / properties / limit / maximum
      Previous value: -100New value: +1000000
    • addedOutput schema / properties / effective_limit
      Added value: +{
      +  "description": "The response limit after clamping, present when clamped.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / requested_limit
      Added value: +{
      +  "description": "The requested limit, present when clamped.",
      +  "type": "number"
      +}
  3. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint, so the safety profile is covered. The description adds some behavior beyond that — input normalization (trailing ':' or '://' ignored) and the shape of the returned record (status, description, references, well-known URI support) — but says nothing about rate limits or whether historical schemes are included by default, which matters for this registry.

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?

Two sentences, front-loaded with the action, then the mode selection rule, then the return shape. No filler or hedging, and the most decision-relevant constraint (exactly one of scheme/keyword) is placed where an agent will see it before drilling into the schema.

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?

With a full output schema and fully described parameters, the description covers the remaining decision points: the two lookup modes, their exclusivity, input normalization, and that status filtering crosses both modes. Minor gap is paging semantics for keyword mode, which is left entirely to the schema's offset/limit descriptions.

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?

Output-format disclosure aside, the description clarifies the meaning of the `status` filter by enumerating permanent/provisional/historical and noting it 'applies to both modes', and it explains that `keyword` matches whole tokens against names and descriptions rather than doing free-text matching. These add interpretive value on top of an already 100%-covered schema, though most of the input-handling detail duplicates the schema text.

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+resource ('Look up a registered URI scheme') and its opening line largely restates the name/title, but the second sentence clarifies that there are two distinct lookup modes (exact scheme vs. keyword search), which an agent cannot infer from the name alone. The resource is unambiguous against siblings covering other registries.

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?

It states 'Pass exactly one of scheme or keyword', giving a mutual-exclusivity rule for choosing a mode. However, this same constraint already appears verbatim in the schema for both parameters, and there is no guidance on when to prefer keyword search over a guessed exact scheme, nor any mention of the sibling iana_search_registries tool.

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.