Skip to main content
Glama

type.get_by_id

Retrieve a data type using its internal ID, universal ID, or source archive ID to resolve type references during reverse engineering.

Instructions

Look up a data type by internal ID, universal ID, or source archive ID.

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": {
      "session_id": "<session_id>"
    },
    "name": "type.get_by_id"
  }
}

Input Schema

NameRequiredDescriptionDefault
session_idYes
data_type_idNo
universal_idNo
source_archive_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and does not meet it. It never states whether the lookup is read-only, what happens when the ID is not found (error vs empty), whether supplying more than one identifier is an error or which takes precedence, or what gets returned. Only a weak read semantics is implied by 'look up'.

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?

A single tight sentence with the verb and resource front-loaded and no filler. Slight deduction because the ambiguity about whether the three IDs are alternatives or combined is caused by the compressed 'or' phrasing rather than resolved by it.

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

Completeness2/5

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

For a four-parameter tool with no annotations and no output schema, the description is too thin: it omits the required session_id, the precedence rules among identifiers, failure behavior, and any hint of the return shape. An agent could form a call but not predict its outcome or recover from a not-found result.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate and only partially does: it names the three identifier parameters (internal ID, universal ID, source archive ID), which is real value over a bare integer schema. However, it never clarifies mutual exclusivity or precedence when multiple IDs are passed, and the required session_id parameter goes entirely unmentioned.

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 ('Look up') and resource ('a data type') and enumerates the three identifier kinds it accepts, so the operation is unambiguous. It stops short of distinguishing itself from siblings like type.get or type.archives.list, which is the only thing separating a 4 from a 5.

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

Usage Guidelines2/5

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

There is no when-to-use guidance beyond the bare purpose: nothing says when to prefer this over type.get, what to do if you lack an ID, or which of the three identifiers to supply. With several closely named siblings present, the absence of any routing advice leaves the agent to infer selection from the name alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools