Skip to main content
Glama

Get String

get_string

Read null-terminated strings from single or comma-separated addresses in IDA Pro to inspect text during reverse engineering.

Instructions

Read null-terminated string(s).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
addrYesAddress(es) - single or comma-separated
max_lenNoMaximum string length
timeoutNoTimeout in seconds
instance_idNoInstance id override

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.9.7

TDQS

C2.9/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 behavioral burden but discloses almost nothing: it doesn't say whether it reads from a live debugger process or the static database, whether addresses are virtual, how the timeout applies, or what happens when max_len truncates. It conveys only that strings are null-terminated.

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 zero waste. It is efficiently structured, though its brevity borders on under-specification for a memory-reading tool.

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 reverse-engineering memory-read tool with no annotations and no output schema, the definition is too thin. It omits the read source, address space semantics, truncation behavior, and return format, all of which an agent needs to invoke it correctly.

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 100%, so the schema already documents all four parameters, making 3 the baseline. The description adds 'null-terminated' and the '(s)' plural hint, but no syntax or format detail 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+resource (read null-terminated string(s)) that an agent can distinguish from make_string or list_strings by inference. However, it does not explicitly differentiate itself from siblings like get_bytes or read_scalar, leaving the read-a-string-vs-raw-bytes distinction implicit.

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?

The description offers no when-to-use, prerequisites, or alternative-tool guidance. Nothing tells the agent when get_string is preferable to get_bytes, read_scalar, or list_strings.

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