Skip to main content
Glama
drvcvt
by drvcvt

search_string

Find string patterns in a binary file and retrieve all matching locations. Supports case sensitivity, pagination, and result limits.

Instructions

Search for a string pattern in the binary and return all matching locations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax results to return
queryYesString pattern to search for
offsetNoPagination offset (0-based)
binary_pathYesAbsolute path to the binary file
case_sensitiveNoWhether the search is case-sensitive

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are present, so the description carries the full burden of behavioral disclosure. It implies a read-only search action but does not clarify matching semantics (literal vs. regex, encoding, offset addressing), and it claims to return 'all' matching locations while the schema enforces limit/offset pagination.

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 description is a single concise sentence with no filler, and the core verb and object are front-loaded. It is short and scannable, though it sacrifices useful behavioral detail for brevity.

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?

With five parameters, no annotations, no output schema, and several sibling search tools, this minimal description is insufficient. It does not explain the return format, pagination behavior, case-sensitivity defaults, or how this search differs from search_bytes, leaving important operational details implicit.

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 input schema already documents all parameters including defaults, bounds, and meanings. The description adds little beyond the schema, and 'string pattern' is slightly ambiguous, but the baseline of 3 is appropriate given the high schema coverage.

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?

The description states a clear action ('Search for a string pattern'), the resource ('in the binary'), and the result ('return all matching locations'). It is distinct enough from the sibling search_bytes because it targets string patterns, though it does not explicitly differentiate itself.

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 guidance on when to use search_string versus closely related tools like search_bytes, search_rop_gadgets, or list_strings. The description provides no exclusions, prerequisites, or context that would help an agent choose this tool over alternatives.

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