Skip to main content
Glama

Look up a Private Enterprise Number

iana_lookup_pen
Read-onlyIdempotent

Look up a Private Enterprise Number (PEN). Pass exactly one of pen (a number such as 32473, or an OID under 1.3.6.1.4.1 such as 1.3.6.1.4.1.32473.1.2) or organization (words matched against organization names). Returns the organization and its OID prefix. Arcs below the enterprise number are assigned by the enterprise, not IANA. Contact details are not returned.

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_pen"
  }
}

Input Schema

NameRequiredDescriptionDefault
penNoEnterprise number, 0–4294967295, or an OID under 1.3.6.1.4.1 naming it, e.g. "1.3.6.1.4.1.32473.1.2". A leading dot, case-insensitive iso.3.6.1.4.1, iso.org.dod.internet.private.enterprise(s), enterprises, and SNMPv2-SMI::enterprises prefixes are accepted. Pass this or organization, not both.
limitNoRequested maximum results as a positive safe integer. Values above 8000 are clamped to 8000 and disclosed as requested_limit and effective_limit. Default 25.
offsetNoNumber of organization matches to skip; pass the next_offset of the previous response to get the next page. Default 0.
organizationNoWords matched as whole tokens against the names of assigned entries, e.g. "cisco systems"; look up a number with pen to see a reserved or unassigned one. Pass this or pen, not both.

Output Schema

NameRequiredDescriptionDefault
capNoThe limit applied.
modeNoWhich lookup ran.
errorNoPresent when the call failed. Absent on success.
foundNoTrue when the number is assigned, or any assigned organization matches before paging.
shownNoResults returned.
noticeNoGuidance on a miss, a cut list, or another condition.
sourceNoProvenance and freshness of the answer.
sub_arcsNoArcs below the enterprise number, e.g. "1.2"; the enterprise assigns these.
truncatedNoTrue when more matches exist than were returned.
totalCountNoMatches before the limit was applied.
enterprisesNoMatching entries: exact organization-name hits first, then number order.
next_offsetNoPass as offset for the next page; absent on the last.
requested_oidNoThe OID as requested, when it named arcs below the enterprise number.
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. Changed12 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 8000 are clamped to 8000 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"
    • removedInput schema / properties / organization / maxLength
      Removed value: -100
    • removedInput schema / properties / organization / minLength
      Removed value: -2
    • addedInput schema / properties / organization / pattern
      Added value: +"^\\s*(?:\\S[\\s\\S]{0,98}\\S\\s*)?$"
    • changedInput schema / properties / pen / description
      Previous value: -"Enterprise number, e.g. \"32473\", or an OID under 1.3.6.1.4.1 naming it, e.g. \"1.3.6.1.4.1.32473.1.2\". A leading dot, case-insensitive iso.3.6.1.4.1, iso.org.dod.internet.private.enterprise(s), enterprises, and SNMPv2-SMI::enterprises prefixes are accepted. Pass this or organization, not both."New value: +"Enterprise number, 0–4294967295, or an OID under 1.3.6.1.4.1 naming it, e.g. \"1.3.6.1.4.1.32473.1.2\". A leading dot, case-insensitive iso.3.6.1.4.1, iso.org.dod.internet.private.enterprise(s), enterprises, and SNMPv2-SMI::enterprises prefixes are accepted. Pass this or organization, not both."
    • changedInput schema / properties / pen / pattern
      Previous value: -"^(?:\\s*|\\s*\\.?(?:\\d{1,9}|\\d{1,10}(?:\\.\\d{1,10}){2,70}|(?:[iI][sS][oO]\\.[oO][rR][gG]\\.[dD][oO][dD]\\.[iI][nN][tT][eE][rR][nN][eE][tT]\\.[pP][rR][iI][vV][aA][tT][eE]\\.[eE][nN][tT][eE][rR][pP][rR][iI][sS][eE][sS]|[iI][sS][oO]\\.[oO][rR][gG]\\.[dD][oO][dD]\\.[iI][nN][tT][eE][rR][nN][eE][tT]\\.[pP][rR][iI][vV][aA][tT][eE]\\.[eE][nN][tT][eE][rR][pP][rR][iI][sS][eE]|[sS][nN][mM][pP][vV]2-[sS][mM][iI]::[eE][nN][tT][eE][rR][pP][rR][iI][sS][eE][sS]|[eE][nN][tT][eE][rR][pP][rR][iI][sS][eE][sS]|[iI][sS][oO]\\.3\\.6\\.1\\.4\\.1)(?:\\.\\d{1,9}(?:\\.\\d{1,10}){0,64})?)\\s*)$"New value: +"^(?:\\s*|\\s*\\.?(?:\\d{1,10}|\\d{1,10}(?:\\.\\d{1,10}){2,70}|(?:[iI][sS][oO]\\.[oO][rR][gG]\\.[dD][oO][dD]\\.[iI][nN][tT][eE][rR][nN][eE][tT]\\.[pP][rR][iI][vV][aA][tT][eE]\\.[eE][nN][tT][eE][rR][pP][rR][iI][sS][eE][sS]|[iI][sS][oO]\\.[oO][rR][gG]\\.[dD][oO][dD]\\.[iI][nN][tT][eE][rR][nN][eE][tT]\\.[pP][rR][iI][vV][aA][tT][eE]\\.[eE][nN][tT][eE][rR][pP][rR][iI][sS][eE]|[sS][nN][mM][pP][vV]2-[sS][mM][iI]::[eE][nN][tT][eE][rR][pP][rR][iI][sS][eE][sS]|[eE][nN][tT][eE][rR][pP][rR][iI][sS][eE][sS]|[iI][sS][oO]\\.3\\.6\\.1\\.4\\.1)(?:\\.\\d{1,10}(?:\\.\\d{1,10}){0,64})?)\\s*)$"
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `outside_enterprise_arc`: The numeric OID is outside the private enterprise arc 1.3.6.1.4.1. `enterprise_number_required`: The OID names the enterprise arc itself without an enterprise number. `mode_required`: Neither or both of pen and organization were given. `upstream_unreadable`: The enterprise number file could not be fetched or parsed to zero records. `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: `outside_enterprise_arc`: The numeric OID is outside the private enterprise arc 1.3.6.1.4.1. `enterprise_number_required`: The OID names the enterprise arc itself without an enterprise number. `mode_required`: Neither or both of pen and organization were given. `upstream_unreadable`: The enterprise number file could not be fetched, lacked its end marker, or parsed to zero records. `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. Changed6 schema fields changed
    • changedInput schema / properties / pen / description
      Previous value: -"Enterprise number, e.g. \"32473\", or an OID under 1.3.6.1.4.1 naming it, e.g. \"1.3.6.1.4.1.32473.1.2\" (a leading dot and the iso.org.dod.internet.private.enterprise prefix are accepted). Pass this or organization, not both."New value: +"Enterprise number, e.g. \"32473\", or an OID under 1.3.6.1.4.1 naming it, e.g. \"1.3.6.1.4.1.32473.1.2\". A leading dot, case-insensitive iso.3.6.1.4.1, iso.org.dod.internet.private.enterprise(s), enterprises, and SNMPv2-SMI::enterprises prefixes are accepted. Pass this or organization, not both."
    • changedInput schema / properties / pen / pattern
      Previous value: -"^(?:\\d{1,9}|1\\.3\\.6\\.1\\.4\\.1\\.\\d{1,9}(?:\\.\\d{1,10}){0,64})$"New value: +"^(?:\\s*|\\s*\\.?(?:\\d{1,9}|\\d{1,10}(?:\\.\\d{1,10}){2,70}|(?:[iI][sS][oO]\\.[oO][rR][gG]\\.[dD][oO][dD]\\.[iI][nN][tT][eE][rR][nN][eE][tT]\\.[pP][rR][iI][vV][aA][tT][eE]\\.[eE][nN][tT][eE][rR][pP][rR][iI][sS][eE][sS]|[iI][sS][oO]\\.[oO][rR][gG]\\.[dD][oO][dD]\\.[iI][nN][tT][eE][rR][nN][eE][tT]\\.[pP][rR][iI][vV][aA][tT][eE]\\.[eE][nN][tT][eE][rR][pP][rR][iI][sS][eE]|[sS][nN][mM][pP][vV]2-[sS][mM][iI]::[eE][nN][tT][eE][rR][pP][rR][iI][sS][eE][sS]|[eE][nN][tT][eE][rR][pP][rR][iI][sS][eE][sS]|[iI][sS][oO]\\.3\\.6\\.1\\.4\\.1)(?:\\.\\d{1,9}(?:\\.\\d{1,10}){0,64})?)\\s*)$"
    • changedOutput schema / properties / enterprises / items / properties / state / description
      Previous value: -"reserved (\"Reserved\"), unassigned (\"Unassigned\" or \"---none---\"), else assigned."New value: +"reserved (\"Reserved\"), unassigned (\"Unassigned\" or \"---none---\"), matched as whole markers case-insensitively; else assigned."
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `mode_required`: Neither or both of pen and organization were given. `upstream_unreadable`: The enterprise number file could not be fetched or parsed to zero records. `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: `outside_enterprise_arc`: The numeric OID is outside the private enterprise arc 1.3.6.1.4.1. `enterprise_number_required`: The OID names the enterprise arc itself without an enterprise number. `mode_required`: Neither or both of pen and organization were given. `upstream_unreadable`: The enterprise number file could not be fetched or parsed to zero records. `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."
    • changedOutput schema / properties / error / properties / data / properties / reason / examples
      Previous value: -[
      -  "mode_required",
      -  "upstream_unreadable",
      -  "pacer_shed"
      -]New value: +[
      +  "outside_enterprise_arc",
      +  "enterprise_number_required",
      +  "mode_required",
      +  "upstream_unreadable",
      +  "pacer_shed"
      +]
    • changedOutput schema / properties / found / description
      Previous value: -"True when a returned number is assigned to an organization."New value: +"True when the number is assigned, or any assigned organization matches before paging."
  3. 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"
      +}
  4. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent and open-world behavior, so the description's job is to add scope. It does: it declares what is returned, what is explicitly not returned ('Contact details are not returned'), and the authority boundary that sub-arcs are assigned by the enterprise rather than IANA. It omits pagination behavior and any rate-limit or coverage caveats, which keeps it below a 5.

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?

Three short sentences, front-loaded with the verb and resource, then the argument rule, then the return and non-return facts. Nothing is padding; each sentence carries a distinct, actionable point.

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?

An output schema exists, so return shape needn't be spelled out, and the description still notes the key returned fields and their limits. For a four-parameter lookup with rich schema documentation this is nearly complete; only pagination expectations (limit/offset behavior) are left entirely to 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 already documents the accepted PEN forms, the leading-dot/iso/SNMP prefixes, the mutual exclusivity, limit clamping at 8000, and offset paging. The description mostly restates the pen/organization duality, adding only the illustrative examples, so the baseline 3 applies.

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 opens with a specific verb and resource ('Look up a Private Enterprise Number (PEN)') and states what comes back (organization plus OID prefix), which is unambiguous. It doesn't explicitly contrast itself with registry siblings such as iana_lookup_port or iana_get_registry_records, but the resource noun alone is distinctive enough to separate it.

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?

It gives a concrete selection rule: 'Pass exactly one of `pen` ... or `organization`', and clarifies that arcs below the enterprise number belong to the enterprise, not IANA, so agents don't chase down sub-arcs here. It stops short of naming an alternative tool for cases this one doesn't cover (e.g., enumerating a registry), so it's clear context without exclusions.

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.