Skip to main content
Glama

scan_strings

Find readable ASCII and UTF-16LE strings in a live process's memory, including runtime-built text like decrypted keys and redirected URLs that disk-based strings scans miss.

Instructions

Find readable strings in live memory — what the target built at run time.

strings only reads an image on disk. A URL after a redirect, a decrypted key, a JSON payload assembled on the heap exist only here.

encoding="both" covers ASCII and UTF-16LE; wide strings are stored with a lower-case-only convention on Windows, so scanning only ASCII misses most user-visible text.

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": "scan_strings"
  }
}

Input Schema

NameRequiredDescriptionDefault
pidNo
limitNo
needleNo
sessionNodefault
encodingNoboth
min_lengthNo
module_filterNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/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 it does disclose genuinely useful behavior: the target must be live, and `encoding="both"` covers ASCII plus UTF-16LE with a note that ASCII-only scanning misses most Windows user-visible text. It omits other operationally important traits, however -- whether process attachment or elevated privileges are required, whether the scan is slow or memory-heavy, and what happens when no pid is given.

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?

The purpose is front-loaded in the first clause and the sibling contrast follows immediately. The closing note on Windows wide-string casing is the weakest part -- informative but slightly digressive -- though it does justify the non-obvious `encoding` default.

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 no explanation, but for a 7-parameter tool with zero schema description coverage and no annotations the description leaves too much undefined: pid semantics, filter syntax, and result-volume controls are all unaddressed. It is rich on motivation and thin on invocation mechanics.

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% across 7 parameters, so the description must compensate, but it explains only `encoding` (and only the "both" value). It says nothing about `pid` (nullable, presumably all processes), `needle` (substring? case-sensitive? regex?), `module_filter` syntax, `min_length`, or `limit`/`session` behavior.

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

Purpose5/5

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

The description opens with a specific verb and resource -- "Find readable strings in *live* memory" -- and immediately scopes it to "what the target built at run time." It explicitly distinguishes itself from the sibling `strings` tool ("only reads an image on disk"), so an agent can choose between them without opening either schema.

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

Usage Guidelines5/5

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

It names the alternative tool and the condition that separates them: on-disk image data goes to `strings`, runtime artifacts (post-redirect URLs, decrypted keys, heap-assembled JSON) go here. The three concrete examples make the selection criterion operational rather than abstract.

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