Skip to main content
Glama

print_string

Print the string at a specified memory address, with optional length, to inspect data during binary analysis and reverse engineering.

Instructions

Print string at address (psz).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
lengthNo
addressYes
session_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.4/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It implies a read/display operation but says nothing about output format, what happens if the address is invalid, how 'length' truncates, or whether session_id defaults to the active session.

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 short sentence that is front-loaded and waste-free. It is efficient, though its brevity borders on under-specification rather than tightness.

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?

For a 3-parameter tool with 0% schema coverage and no annotations, the description is too thin. The existence of an output schema excuses it from documenting return values, but it should still explain the length and session_id parameters and the read-only nature of the operation.

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 description coverage is 0%, so all three parameters (length, address, session_id) are undocumented in structured fields. The description only hints at the meaning of 'address' via the '(psz)' notation and gives no semantics for 'length' or 'session_id', failing to compensate for the coverage gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a recognizable verb+resource ('Print string at address'), and the parenthetical 'psz' hints at a null-terminated string pointer. However, it never distinguishes itself from siblings like print_hex or get_strings, leaving an agent to guess which readout tool applies.

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?

There is no when-to-use guidance, no statement of prerequisites, and no mention of alternatives such as print_hex for raw bytes or get_strings for enumerating strings. Usage is only loosely implied by the phrase 'at address'.

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