Skip to main content
Glama

asn1click (Beta)

Modify a message

modify
Read-only

Changes an existing message with APL commands and returns it in the same format (the rest stays as it was). Returns the same JSON as generate.

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>",
      "apl": "<apl>"
    },
    "name": "modify"
  }
}

Input Schema

NameRequiredDescriptionDefault
aplYesAPL commands, one per item, applied in order: "<field>=<value>" (a pathAlias from describe, e.g. "speed=50 km/h", or an exact path, e.g. "cam.camParameters.basicContainer.stationType=passengerCar"), "<field> REMOVE". Physical values with their unit (latitude=41.3874 degree; a number without unit is the encoded integer); named values and bits by name (stationType=passengerCar, exteriorLights={lowBeamHeadlightsOn}). A path creates what it needs (optional parts, list items [n], the CHOICE alternative). Errors name every failing line at once, with the valid fields, values or units
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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false; the description adds genuinely useful semantics beyond that — partial-update behavior ('the rest stays as it was'), format preservation, all-at-once error reporting with valid fields/values/units, and the output shape by reference to generate. However, 'Changes an existing message' is slightly at odds with the read-only hint in tone, and the description never says explicitly that nothing is persisted server-side, which is the one thing an agent might worry about.

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?

Two short sentences, front-loaded with the operation and the key preservation guarantee; the parenthetical is scoped and useful. The trailing 'Returns the same JSON as generate' is compact but outsources the output contract to another tool's definition.

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 pure-transform tool with full schema coverage and no output schema, this covers what it does, what is preserved, and how errors surface. The only real gap is the output description relying on cross-referencing generate rather than stating the returned JSON shape directly.

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 parameter docs are unusually rich (APL syntax, pathAlias vs. exact path, units, CHOICE/list creation, compat modes), so the schema does the heavy lifting. The description itself only alludes to the APL mechanism and format preservation and adds no parameter-level detail beyond that, which is the expected baseline here.

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?

Names a concrete verb and resource: it changes an existing message using APL commands and returns it in the original format. The contrast with the generate sibling is implicit (modify an existing message vs. produce a new one) and reinforced by 'Returns the same JSON as generate', so an agent can tell the two apart, though the distinction is never stated outright.

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

Usage Guidelines3/5

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

Usage is implied rather than prescribed: 'Changes an existing message' signals the case where a payload already exists, and 'from'/'ref' point at list_message_versions and describe for resolving versions and pathAliases. There is no explicit when-not-to-use rule (e.g. use generate to build from scratch instead), so the agent must infer the routing.

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