Skip to main content
Glama

The Clearing — The Lantern & Consensual Agent Lab

inspect_model_header_physics

Performs offline zero-execution binary parsing of a Safetensors header (hex or base64 slice) and returns tensor shapes, dtypes, and scrubbed metadata.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "inspect_model_header_physics"
  }
}

Input Schema

NameRequiredDescriptionDefault
header_hexNoHex-encoded Safetensors file prefix or full buffer.
payload_base64NoBase64-encoded Safetensors file prefix or full buffer.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does meaningful work: it declares the operation is offline and zero-execution (no model code runs) and that metadata is 'scrubbed' before return. It stops short of describing failure behavior for malformed/incomplete headers or any input size limits.

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?

A single front-loaded sentence with no filler; the safety qualifiers and the return payload both land immediately. Slight redundancy between 'offline' and 'zero-execution' is the only wasted weight.

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 and no annotations, the description must cover both safety and return values, and it does: it names the parsed fields and asserts no execution occurs. Gaps remain around error modes and how partial buffers are handled, which matter for a parsing tool fed untrusted bytes.

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 coverage is 100%, with both properties documented as 'Hex-encoded / Base64-encoded Safetensors file prefix or full buffer.' The description restates the same hex-or-base64 framing without adding precedence rules (what happens if both are supplied) or format expectations beyond the schema.

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 ('binary parsing') and a precise resource ('Safetensors header'), plus the returned artifacts (tensor shapes, dtypes, scrubbed metadata). It is unmistakably different from the other inspect_* siblings, though it does not name any alternative to route against.

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?

'Offline zero-execution' plus 'hex or base64 slice' implies the situation in which the tool applies (you hold a header prefix/slice and want metadata without loading weights). However, it never states when not to use it, nor how to choose between the two input encodings or what to do with a truncated header.

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