Skip to main content
Glama

asn1click (Beta)

Get an ASN.1 element

get_element
Read-only

Returns the definition of one ASN.1 element (type): its kind (SEQUENCE, CHOICE, INTEGER, ENUMERATED...), fields with their types and optionality, constraints, named values and ASN.1 comments. Field types are other elements: call get_element again to drill down. Without moduleId, every public module is searched.

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

Input Schema

NameRequiredDescriptionDefault
nameYesExact element name, e.g. CAM, BasicContainer, StationType
moduleIdNoOptional moduleId where it is defined, e.g. _cam_v2

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so safety is covered. The description adds behavior the annotations do not: the fallback search across all public modules when moduleId is absent, and the recursive drill-down pattern for resolving field types. It does not say what happens when a name is ambiguous across modules or not found.

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 tight sentences: the first front-loads what is returned and its structure, the second gives the recursion pattern, the third the moduleId scoping behavior. The parenthetical examples of ASN.1 kinds and the drill-down note each carry information an agent needs, and there is no filler.

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 no output schema, the description correctly takes on the burden of describing return content, and it does so in detail. Two parameters at full schema coverage need little more, but it leaves open the edge case of a name defined in multiple public modules, which matters given the no-moduleId search path.

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?

Schema coverage is 100%, so both parameters are documented in structured form (exact element name with examples, optional moduleId with an example). The description goes beyond that by explaining the consequence of omitting moduleId — a search across every public module — which is true added meaning rather than restatement.

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 uses a specific verb and resource ("Returns the definition of one ASN.1 element (type)") and enumerates exactly what the definition contains: kind, fields with types and optionality, constraints, named values, and comments. It never names a sibling such as search_elements or describe, so the agent gets a sharp sense of the resource but must infer which tool to use for discovery versus definition lookup.

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 concrete usage context: "Field types are other elements: call get_element again to drill down" tells the agent the recursion pattern, and "Without moduleId, every public module is searched" tells it when to omit the optional parameter. It stops short of naming alternatives (e.g., search_elements for finding an element name) or stating when not to use it.

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