Skip to main content
Glama
ASkyeye
by ASkyeye

pin_read_regs

Read general-purpose CPU registers for a specified thread during dynamic analysis; use tid=0 to target the last event or main thread.

Instructions

Read general-purpose registers for a thread.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tidNoOS thread id (0 = last event / main)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations provided, the description must carry the full behavioral burden. It implies a read but does not state the operation is side-effect free, whether it requires the target to be paused, what registers/format are returned, or how errors (e.g., invalid tid) are surfaced.

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, appropriate for a one-parameter read tool. It is efficient, though extremely terse for a debugging primitive.

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?

No output schema, no annotations, and a read tool whose result shape (which registers, register names, formatting) is entirely undocumented. An agent lacks enough context to interpret or act on the return value confidently.

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?

Only one parameter (tid) and schema description coverage is 100%, with the schema already explaining '0 = last event / main'. The description adds nothing beyond the schema, so the baseline 3 applies.

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 ('Read') and resource ('general-purpose registers') scoped to a thread. It is distinguishable from siblings like pin_read_mem and pin_write_mem by resource, though it does not explicitly contrast with them.

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

Usage Guidelines2/5

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

No guidance on when to use this tool versus alternatives, no prerequisites (e.g., whether the thread must be paused/stopped first), and no mention of the default tid=0 behavior in prose.

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