Skip to main content
Glama

find_strings

Read-only

Locate printable ASCII or UTF-16LE text inside an artifact and return matching strings with their file offsets, using optional query, encoding, offset, and limit filters.

Instructions

Find printable ASCII text or ASCII-range UTF-16LE text with file offsets.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "artifact_id": "<artifact_id>"
    },
    "name": "find_strings"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNo
offsetNo
encodingNoascii
artifact_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered externally. The description adds the useful behavioral detail that only printable ASCII (and ASCII-range UTF-16LE) is matched and that results carry file offsets, but it says nothing about result volume, ordering, or how paging behaves on a potentially large artifact.

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; the scope qualifier ('printable ASCII', 'file offsets') is placed where it is immediately useful. It is efficient, though its brevity is partly achieved by omitting rather than compressing information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Output schema exists, so return values need not be explained, and the description covers the match domain and offset output. However, for a five-parameter, zero-coverage search tool it is missing match semantics and pagination behavior, so it is not fully complete.

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 five parameters, so the description must carry the load and largely does not. It only implicitly maps to 'encoding' (ascii vs utf-16le); it never clarifies whether 'query' is a substring, prefix, or pattern match, nor what 'limit' and 'offset' mean, which is a serious gap for a paginated search tool.

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 names a concrete verb (Find) and a concrete resource (printable ASCII / ASCII-range UTF-16LE text with file offsets), so an agent knows it performs a string search over an artifact and returns offsets. It does not distinguish itself from siblings like list_symbols or inspect_artifact, which keeps it at 4 rather than 5.

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 statement of when to use this tool versus alternatives, no mention of prerequisites, and no indication of what kind of artifact it should be run against. The agent is left to infer usage entirely from the tool name and sibling list.

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