Skip to main content
Glama

Read IANA registry records

iana_get_registry_records
Read-onlyIdempotent

Read records from any IANA XML registry by id, e.g. registry "tls-parameters" with subregistry "tls-parameters-4" (TLS Cipher Suites), "protocol-numbers", "http-methods", or "cbor-tags"; an iana.org/assignments URL also works. Filter with value on the key column or the column field names: signed decimal points match exact cells, inclusive ranges and strict open bounds; scalar 0x points also compare with decimal cells and established bare-hex columns. Two-byte 0x points match byte-pair ranges and wildcards with their width preserved. Address fields compare IPv4 and IPv6 points and prefixes with covering blocks, narrowest first. An implicit range-only key match yields a miss and a field pointer when another column holds the value exactly. Filter with contains for words in any field; records with an equal field come first. When a registry has several sub-registries and none is given, the response lists them instead of records; a table that nests tables lists them too. Field names are the registry's XML element names (e.g. "rec" is the Recommended column). Large registries page through cursor. Find ids with iana_search_registries.

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": {
      "registry": "<registry>"
    },
    "name": "iana_get_registry_records"
  }
}

Input Schema

NameRequiredDescriptionDefault
fieldNoColumn for value to match instead of the key column, case-insensitive, one of the names in columns: e.g. "type" for a DNS RR type mnemonic, or "name" for every row of a service name. Ignored without value.
limitNoRequested maximum results as a positive safe integer. Values above 1400 are clamped to 1400 and disclosed as requested_limit and effective_limit. Default 25.
valueNoMatch the key column named by value_field (value, else number, else first column), or field when set; case and whitespace are ignored. Signed decimal points compare without precision loss with exact integers, inclusive a-b or a to b ranges, and strict less than / greater than bounds. Decimal input never gains hexadecimal meaning. One 0x token also compares numerically with decimal cells and ranges; bare hex is recognized only in ieee-802-numbers-1/type_hex and ppp-numbers-2/value. Hex byte forms keep their written width: 0x1301, {0x13,0x01}, and 0x13 0x01 find 0x13,0x01; 0x0013 finds 0x00,0x13 but 0x13 does not. Two-byte points also match 0xHH,0xLL-MM, 0xHH,* and 0xAA-BB,* rows. Scalar hex ranges such as 0x11-0xff and literal range equality remain supported. In address, addr, and prefix columns, an IPv4 or IPv6 point or whole prefix can match a containing block. Repeated XML field elements can match individually. An implicit range-only match with an exact alternate-column hit returns a miss naming field; explicit field selection is authoritative.
cursorNonext_cursor from the previous page; reuse it only with the same registry, subregistry, value, field, and contains.
containsNoWords matched as whole tokens against every field and reference id, e.g. "chacha20". Outside address lookups, records with a field equal to the words come first.
registryYesRegistry id, e.g. "tls-parameters", or its https://www.iana.org/assignments/<id> URL (a #fragment selects the sub-registry when subregistry is unset).
subregistryNoSub-registry id, case-insensitive, e.g. "tls-parameters-4". Omit to read the only sub-registry, or to list them when there are several.

Output Schema

NameRequiredDescriptionDefault
capNoThe limit applied.
errorNoPresent when the call failed. Absent on success.
notesNoNotes of the table read (of the registry, when listing), first page only.
shownNoResults returned.
noticeNoGuidance on a miss, a cut list, or another condition.
offsetNoMatching records before this page, on pages after the first.
sourceNoProvenance and freshness of the answer.
columnsNoField (XML element) names seen, in first-seen order.
recordsNoWhole records up to limit. Address matches are ordered by the smallest covering block, with ties in registry order. Other contains results put equal fields first. All other records stay in registry order.
truncatedNoTrue when more matches exist than were returned.
referencesNoThe documents that define the table read.
totalCountNoMatches before the limit was applied.
descriptionNoDescription of the table read, or of the registry when listing; a YANG module registry names its module file here.
next_cursorNoPass as cursor, with the same filters, for the next page.
registry_idNoRegistry id.
value_fieldNoThe table's key column: each record's value comes from it, and the value filter matches it unless field names another.
subregistriesNoTables to read next: every sub-registry when one must be chosen (records is then empty), or the tables nested directly in the table read, on its first page.
registry_notesNoThe registry root's notes and footnotes, on the first page of a sub-registry read; records cite them by anchor.
registry_titleNoRegistry title.
subregistry_idNoId of the sub-registry the records come from.
effective_limitNoThe response limit after clamping, present when clamped.
notes_truncatedNoIndicates truncated notes when present; omitted for whole notes.
requested_limitNoThe requested limit, present when clamped.
subregistry_titleNoTitle of that sub-registry.
registration_rangesNoAllocation ranges, when the table defines them.
registration_procedureNoRegistration rule of the table read, or of the registry when listing.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • 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 1400 are clamped to 1400 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"
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `unknown_registry`: The registry XML returns 404 and no case-insensitive index match exists, or the index is unavailable. `unknown_subregistry`: The subregistry id is not in this registry. `unknown_field`: The field, given with value, is not a column of the table read. `non_xml_registry`: The registry, or the sub-registry read, holds no XML records and points at a file published separately, such as plain text or a MIB module. `invalid_cursor`: The cursor is not one this tool returned: malformed, corrupted, or carrying an offset or limit that is not a whole number of zero or more. `cursor_mismatch`: The cursor was minted for a different registry, subregistry, value, field, or contains. `upstream_unreadable`: The registry XML could not be read, was not XML, or was larger than this server accepts. `pacer_shed`: This server's own iana.org request queue is too full for the call to start in time. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `unknown_registry`: The registry XML returns 404 and no case-insensitive index match exists, or the index is unavailable. `unknown_subregistry`: The subregistry id is not in this registry. `unknown_field`: The field, given with value, is not a column of the table read. `non_xml_registry`: The registry, or the sub-registry read, holds no XML records and points at a file published separately, such as plain text or a MIB module. `invalid_cursor`: The cursor is not one this tool returned: malformed, corrupted, or carrying an offset or limit that is not a whole number of zero or more. `cursor_mismatch`: The cursor was minted for a different registry, subregistry, value, field, or contains. `upstream_unreadable`: The registry XML could not be read, was incomplete or malformed, or was larger than this server accepts. `pacer_shed`: This server's own iana.org request queue is too full for the call to start in time. Other values are possible when a failure originates below the handler."
  2. Changed4 schema fields changed
    • changedInput schema / properties / contains / description
      Previous value: -"Words matched as whole tokens against every field and reference id, e.g. \"chacha20\". Records with a field equal to the words come first."New value: +"Words matched as whole tokens against every field and reference id, e.g. \"chacha20\". Outside address lookups, records with a field equal to the words come first."
    • changedInput schema / properties / value / description
      Previous value: -"Match the key column named by value_field (value, else number, else first column), or field when set; case and whitespace are ignored. Signed decimal points compare without precision loss with exact integers, inclusive a-b or a to b ranges, and strict less than / greater than bounds. Decimal input never gains hexadecimal meaning. One 0x token also compares numerically with decimal cells and ranges; bare hex is recognized only in ieee-802-numbers-1/type_hex and ppp-numbers-2/value. Hex byte forms keep their written width: 0x1301, {0x13,0x01}, and 0x13 0x01 find 0x13,0x01; 0x0013 finds 0x00,0x13 but 0x13 does not. Two-byte points also match 0xHH,0xLL-MM, 0xHH,* and 0xAA-BB,* rows. Scalar hex ranges such as 0x11-0xff and literal range equality remain supported. An implicit range-only match with an exact alternate-column hit returns a miss naming field; explicit field selection is authoritative."New value: +"Match the key column named by value_field (value, else number, else first column), or field when set; case and whitespace are ignored. Signed decimal points compare without precision loss with exact integers, inclusive a-b or a to b ranges, and strict less than / greater than bounds. Decimal input never gains hexadecimal meaning. One 0x token also compares numerically with decimal cells and ranges; bare hex is recognized only in ieee-802-numbers-1/type_hex and ppp-numbers-2/value. Hex byte forms keep their written width: 0x1301, {0x13,0x01}, and 0x13 0x01 find 0x13,0x01; 0x0013 finds 0x00,0x13 but 0x13 does not. Two-byte points also match 0xHH,0xLL-MM, 0xHH,* and 0xAA-BB,* rows. Scalar hex ranges such as 0x11-0xff and literal range equality remain supported. In address, addr, and prefix columns, an IPv4 or IPv6 point or whole prefix can match a containing block. Repeated XML field elements can match individually. An implicit range-only match with an exact alternate-column hit returns a miss naming field; explicit field selection is authoritative."
    • changedOutput schema / properties / records / description
      Previous value: -"Whole records in registry order (with contains, records with a field equal to the words first), up to limit."New value: +"Whole records up to limit. Address matches are ordered by the smallest covering block, with ties in registry order. Other contains results put equal fields first. All other records stay in registry order."
    • changedOutput schema / properties / records / items / properties / references / description
      Previous value: -"References on the record."New value: +"Record references and registration template links."
  3. Changed14 schema fields changed
    • changedInput schema / properties / value / description
      Previous value: -"Exact match on the key column named by value_field (value, else number, else the first column), or on field when set; case and whitespace are ignored. A value of digits compares exactly with a cell of digits, so \"0443\" finds \"443\", and also matches decimal range rows without precision loss, including 64-bit endpoints; it never matches a 0x cell. One 0x token compares by number with a one-token 0x cell, so \"0x5\" finds \"0x05\", and also matches range rows such as \"0x11-0xff\". Any other pair of 0x forms compares the digits as written: \"0x1301\", \"{0x13,0x01}\", and \"0x13 0x01\" all find \"0x13,0x01\", while \"0x13\" never finds \"0x00,0x13\"."New value: +"Match the key column named by value_field (value, else number, else first column), or field when set; case and whitespace are ignored. Signed decimal points compare without precision loss with exact integers, inclusive a-b or a to b ranges, and strict less than / greater than bounds. Decimal input never gains hexadecimal meaning. One 0x token also compares numerically with decimal cells and ranges; bare hex is recognized only in ieee-802-numbers-1/type_hex and ppp-numbers-2/value. Hex byte forms keep their written width: 0x1301, {0x13,0x01}, and 0x13 0x01 find 0x13,0x01; 0x0013 finds 0x00,0x13 but 0x13 does not. Two-byte points also match 0xHH,0xLL-MM, 0xHH,* and 0xAA-BB,* rows. Scalar hex ranges such as 0x11-0xff and literal range equality remain supported. An implicit range-only match with an exact alternate-column hit returns a miss naming field; explicit field selection is authoritative."
    • changedOutput schema / properties / columns / description
      Previous value: -"Field (XML element) names seen, first-seen order, the first 50."New value: +"Field (XML element) names seen, in first-seen order."
    • changedOutput schema / properties / description / description
      Previous value: -"Description of the table read, or of the registry when listing; a YANG module registry names its module file here. At most 2,000 characters."New value: +"Description of the table read, or of the registry when listing; a YANG module registry names its module file here."
    • changedOutput schema / properties / notes / description
      Previous value: -"Notes of the table read (of the registry, when listing), first page only. With registry_notes: the first 25 and 4,000 characters at most, these first."New value: +"Notes of the table read (of the registry, when listing), first page only."
    • changedOutput schema / properties / notes_truncated / description
      Previous value: -"True when notes or registry_notes were cut at 4,000 characters."New value: +"Indicates truncated notes when present; omitted for whole notes."
    • changedOutput schema / properties / records / description
      Previous value: -"Records in registry order (with contains, records with a field equal to the words first), up to limit and a 48,000-character page budget."New value: +"Whole records in registry order (with contains, records with a field equal to the words first), up to limit."
    • changedOutput schema / properties / records / items / properties / cut_fields / description
      Previous value: -"Fields cut at 2,000 characters (ending in …) or past the 16-field cap, the first 32."New value: +"Names of cut fields when present; omitted for whole records."
    • changedOutput schema / properties / records / items / properties / fields / description
      Previous value: -"Values keyed by XML element name, each capped at 2,000 characters."New value: +"Whole values keyed by XML element name."
    • changedOutput schema / properties / records / items / properties / references / description
      Previous value: -"References on the record, the first 25."New value: +"References on the record."
    • changedOutput schema / properties / references / description
      Previous value: -"The documents that define the table read, the first 25."New value: +"The documents that define the table read."
    • changedOutput schema / properties / registration_procedure / description
      Previous value: -"Registration rule of the table read, or of the registry when listing; at most 2,000 characters."New value: +"Registration rule of the table read, or of the registry when listing."
    • changedOutput schema / properties / registration_ranges / description
      Previous value: -"Allocation ranges, when the table defines them: the first 25, each text at most 2,000 characters."New value: +"Allocation ranges, when the table defines them."
    • changedOutput schema / properties / registry_notes / description
      Previous value: -"The registry root's notes and footnotes, on the first page of a sub-registry read; records cite them by anchor. Shares the notes caps, after notes."New value: +"The registry root's notes and footnotes, on the first page of a sub-registry read; records cite them by anchor."
    • changedOutput schema / properties / subregistries / description
      Previous value: -"Tables to read next, the first 250: every sub-registry when one must be chosen (records is then empty), or the tables nested directly in the table read, on its first page."New value: +"Tables to read next: every sub-registry when one must be chosen (records is then empty), or the tables nested directly in the table read, on its first page."
  4. Changed5 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
    • changedInput schema / properties / value / description
      Previous value: -"Exact match on the key column named by value_field (value, else number, else the first column), or on field when set; case and whitespace are ignored. A value of digits compares by number with a cell of digits, so \"0443\" finds \"443\", and also matches range rows such as \"105-199\"; it never matches a 0x cell. One 0x token compares by number with a one-token 0x cell, so \"0x5\" finds \"0x05\", and also matches range rows such as \"0x11-0xff\". Any other pair of 0x forms compares the digits as written: \"0x1301\", \"{0x13,0x01}\", and \"0x13 0x01\" all find \"0x13,0x01\", while \"0x13\" never finds \"0x00,0x13\"."New value: +"Exact match on the key column named by value_field (value, else number, else the first column), or on field when set; case and whitespace are ignored. A value of digits compares exactly with a cell of digits, so \"0443\" finds \"443\", and also matches decimal range rows without precision loss, including 64-bit endpoints; it never matches a 0x cell. One 0x token compares by number with a one-token 0x cell, so \"0x5\" finds \"0x05\", and also matches range rows such as \"0x11-0xff\". Any other pair of 0x forms compares the digits as written: \"0x1301\", \"{0x13,0x01}\", and \"0x13 0x01\" all find \"0x13,0x01\", while \"0x13\" never finds \"0x00,0x13\"."
    • 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"
      +}
  5. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Annotations cover the safety profile (readOnly, idempotent, openWorld), yet the description adds real behavior: a multi-subregistry request returns the list rather than records, nested tables list their tables, large registries page through `cursor`, contains-matches rank equal-field records first, and an implicit range-only match returns a miss plus a field pointer. These are non-obvious outcome shapes an agent could not get from the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded, but everything else is a single dense semicolon-chained paragraph mixing purpose, matching grammar, pagination, and error semantics. Several clauses restate the schema's `value` rules almost verbatim, which crowds out the genuinely additive facts and makes quick scanning hard.

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 an output schema present, return shape needn't be described, and the definition still covers the tricky cases: subregistry listing instead of records, cursor paging, ranking under `contains`, and range-only misses. Nothing critical for a 7-parameter, high-branching read tool appears missing, though the heavy filter grammar is better learned from the schema.

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's own `value`, `field`, `limit`, and `cursor` descriptions already spell out the matching grammar, clamping, and cursor-reuse constraints in similar detail. The description's main original contribution is that field names are the registry's XML element names (e.g. "rec" is Recommended), the rest largely compresses what the schema already states, so the baseline 3 applies.

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?

Opens with a specific verb and resource: "Read records from any IANA XML registry by id," then grounds it with concrete examples (tls-parameters-4, protocol-numbers, http-methods, cbor-tags) and notes that an iana.org/assignments URL is also accepted. It also names the sibling that finds ids (iana_search_registries), so an agent can distinguish it from both the search tool and the registry-specific iana_lookup_* siblings.

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?

Explicitly routes id discovery to iana_search_registries and explains the subregistry-selection behavior (omit it to read the only sub-registry or to list several), which tells the agent what to expect before calling. It stops short of saying when to prefer this generic tool over the specific iana_lookup_port / iana_lookup_media_type siblings, leaving that inference to the agent.

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.