Skip to main content
Glama
h0-mcp

h0-mcp

Official

h0_cabi_layout

Computes C ABI struct sizes and field offsets from byte widths to verify cross-platform binary layouts.

Instructions

Compute cross-platform C ABI struct size and field offsets from byte widths (e.g. 1,4,8,8)

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

Input Schema

NameRequiredDescriptionDefault
fieldsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

B3.4/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses only that the tool computes cross-platform C ABI size and offsets from byte widths, but omits crucial behavioral details such as alignment rules, padding behavior, platform-specific ABI differences, error conditions, and output format.

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?

The description is a single front-loaded sentence with zero unnecessary wording. The example is compact and directly supports the input semantics.

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?

The tool is a computation whose correctness depends on ABI alignment and platform assumptions, but the description does not explain the ABI model, output structure, or edge cases. With no annotations and no output schema, the description is not complete enough for an agent to invoke the tool reliably in all cases.

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 0%, so the description must compensate. The example '(e.g. 1,4,8,8)' adds meaning by implying the single 'fields' parameter is a list of byte widths, likely comma-separated, but it does not explicitly define the format, delimiter, or whether field names are accepted.

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?

The description states a specific verb, resource, and scope: compute cross-platform C ABI struct size and field offsets from byte widths. It is clearly distinct from the sibling tools (base64, Merkle root, SHA-256), so an agent can tell what domain this tool serves without ambiguity.

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 description implies usage by showing input as byte widths (e.g. 1,4,8,8), which suggests when the tool is applicable. However, it does not explicitly state when to use this tool, what alternatives exist, or any exclusions or prerequisites.

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