Skip to main content
Glama

strings

Extract readable text from a memory session, filtering case-insensitively by substring and minimum length to isolate relevant data.

Instructions

Extract strings; contains filters case-insensitively.

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": {
      "key": "<key>"
    },
    "name": "strings"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYes
limitNo
sessionNo
containsNo
min_lengthNo
include_codeNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.1/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 and delivers almost nothing: it does not say whether this is a read-only extraction, where the strings come from, how `limit` truncates results, or what `include_code` changes. The one behavioral fact disclosed is that `contains` matching is case-insensitive, which is genuinely useful but far from sufficient.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The sentence is short and front-loaded with the verb, and the `contains` note earns its place. But the brevity is under-specification rather than economy, and the semicolon-joined clause is the only substantive content in the whole definition.

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?

The output schema exists so return values need not be described, but for a six-parameter tool with zero schema coverage and no annotations, the description leaves the agent unable to call it correctly. Nothing explains what `key` identifies or how `limit`/`min_length`/`include_code` shape the extraction.

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 six parameters, so the description must compensate and it does not. It explains only `contains` (case-insensitive filtering) and leaves `key`, `limit`, `session`, `min_length`, and `include_code` completely undefined beyond their bare titles and defaults.

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

Purpose2/5

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

"Extract strings" essentially restates the tool name and never says what the strings are extracted from (a binary keyed by `key`? a memory region? a session?). No distinction is drawn from the sibling `scan_strings`, so an agent cannot tell which extraction tool to pick from the name or the text.

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 at all: no prerequisites, no indication of when this beats `scan_strings`, and no mention of what `session` or `key` are expected to reference. The only guidance-like content is a filter behavior, which is parameter semantics rather than usage.

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