Skip to main content
Glama

asn1click (Beta)

Read a message

read
Read-only

Reads what a message says, in rich APL (physical values with units, names): without show, an overview (its pathAlias values and its structure: containers present, CHOICE alternatives, list sizes); with show, those fields. Use it to answer questions about a message; to give the user the message in a format, use convert.

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": {
      "payload": "<payload>",
      "from": "<from>"
    },
    "name": "read"
  }
}

Input Schema

NameRequiredDescriptionDefault
refNoThe message: its type (CAM, DENM, CPM, MAPEM/MAP, SPATEM/SPAT, IVIM, SREM, SSEM, VAM) = its default version, or a message for a specific version (_Cam_v2, see list_message_versions). Optional: omitted, the payload's V2X header says which
fromYesThe payload's format: UPER, WER, JER or XER
showNoOptional: fields to get back in rich APL (pathAlias or paths), e.g. ["speed", "latitude"]; a container shows everything under it
compatNoOptional: 'asn1c' = encode/decode like asn1c-based stacks (Vanetza), which depart from X.691 in a few constraints (e.g. CPM container list, PathPredicted); 'standard' = X.691 (ObjSys, asn1tools). Default: standard
commentNoOptional: one short line saying what this call is for, in the user's language, e.g. 'Minimal CAM without the low-frequency container'. Shown next to the result; it does not change the operation
payloadYesThe message: UPER/WER as hex, JER (JSON) or XER (XML) as text
diagnoseNoOptional: true = if the payload does not decode, also the bit-level breakdown of what was read (where it failed comes always)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/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 still adds real behavioral value by explaining that the output is APL with units and names, and that omitting show yields structure-only insight (containers, CHOICE alternatives, list sizes). It does not describe failure behavior, though the schema's diagnose parameter partially covers that.

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 main clause is correctly front-loaded, but the sentence is a dense run-on with dangling comma fragments ("without show, an overview ...; with show, those fields") that take effort to parse. The purpose and the routing advice are buried mid-sentence rather than separated.

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?

For a 7-parameter read tool with no output schema, the description adequately conveys what comes back (APL values, overview vs selected fields) and how it differs from formatting-oriented siblings. Residual gaps are minor: return shape for nested containers and failure output are only implied by the schema.

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 the baseline is 3. The description goes slightly beyond by explaining the semantics of the show parameter (absent = structural overview; present = those specific fields returned), which is the one parameter whose effect is easy to misuse.

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?

States a specific verb and resource (reads a message) plus the output medium (rich APL with physical values, units, names), and explicitly separates itself from the convert sibling. The overview-vs-show distinction further pins down what 'read' returns.

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

Usage Guidelines5/5

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

"Use it to answer questions about a message; to give the user the message in a format, use convert" gives both the when-to-use condition and the named alternative that selects a different tool. The without-show/with-show split adds a second, concrete decision rule.

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