Skip to main content
Glama

read_object

Dump a memory object as a hexdump with aligned qwords and pointer validity, and decode typed fields at specified offsets so a guessed structure layout can be verified instead of eyeballed.

Instructions

Dump one object: hexdump, aligned qwords with pointer validity, typed fields.

fields takes "0x0:int32,0x8:pointer,0x10:char[16]" and decodes exactly those offsets, so a guessed layout can be checked instead of eyeballed.

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": {
      "va": "<va>"
    },
    "name": "read_object"
  }
}

Input Schema

NameRequiredDescriptionDefault
vaYes
pidNo
sizeNo
fieldsNo
sessionNodefault

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It discloses output shape (hexdump plus qwords annotated with pointer validity) which is genuinely useful behavior, but says nothing about target requirements (attached session, which process pid selects), behavior on invalid/unmapped addresses, or how far the default 128 bytes extends.

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 tight sentences, with the output contract front-loaded before the parameter detail. The inline fields example is long but earns its space because it removes ambiguity about the offset:type syntax.

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?

An output schema exists, so return values need not be re-explained, but a 5-parameter memory-reading tool with no annotations and 0% schema coverage needs more than one documented parameter. The relationship between va, pid, and session — the pieces an agent must get right to read the intended memory — is never addressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% across 5 parameters, so the description must compensate. It does an excellent job on one parameter — `fields` gets an explicit syntax example ("0x0:int32,0x8:pointer,0x10:char[16]") and a stated decoding contract — but va, pid, size (default 128), and session are left entirely undocumented.

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 and resource ("Dump one object") and enumerates what the dump contains: hexdump, aligned qwords with pointer validity, typed fields. That is concrete enough to distinguish it from a generic read, though it never explicitly contrasts itself with read_typed or read_array, which look closest.

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 only implied via the closing rationale — use this to verify a guessed struct layout rather than eyeballing a raw hexdump. There is no explicit when-not guidance and no named alternative (e.g. read_typed) for the case where the layout is already known or no struct is involved.

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