Skip to main content
Glama

devanvil_decode_protobuf

Decode raw Protobuf binary wire payloads from hex or base64 offline, optionally mapping .proto schemas to named fields and nested/ZigZag/float values.

Instructions

Decode raw Protobuf binary wire payloads (hex or base64) offline without external tools, with optional .proto schema mapping for named fields and ZigZag/float/double/nested message decoding.

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

Input Schema

NameRequiredDescriptionDefault
inputYesRaw Protobuf payload encoded as hex or base64.
messageNameNoOptional root message name in protoSchema.
protoSchemaNoOptional .proto message schema text to map field numbers to names & types.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations provided, the description carries the full disclosure burden. It does add real behavioral detail — fully offline decoding, ZigZag/float/double handling, nested messages, optional named-field mapping — but never states the output shape, error behavior on malformed bytes, or that it is a pure read-only transformation.

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?

A single front-loaded sentence that packs format options, offline behavior, and decoding capabilities with no filler. Every clause carries information.

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

Completeness3/5

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

No output schema and no annotations exist, so the description must cover the return shape and it does not — an agent cannot tell whether it gets JSON fields, a hex dump, or a typed object, nor what happens on invalid input. The decoding capability list partially compensates, but a key gap remains for a self-contained decoding tool.

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%, so all three parameters are already documented in the schema. The description restates that protoSchema is optional and enables named fields, and that input may be hex or base64, but adds no format examples or relationship details (e.g., how messageName interacts with protoSchema) beyond the structured fields.

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?

States a specific verb (Decode) and a precise resource (raw Protobuf binary wire payloads), naming the accepted encodings (hex/base64) and the optional .proto mapping. It is unambiguous what the tool does, though it never contrasts itself with the nearest sibling, devanvil_convert_data.

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?

The phrase 'raw Protobuf binary wire payloads (hex or base64)' and 'offline without external tools' implies the input situation and a no-tooling environment. There is no explicit when-to-use/when-not statement or reference to an alternative for cases like schema-based conversion, so guidance remains implicit.

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