Skip to main content
Glama

search_text

Search presentation slides for specific text across shapes, tables, and speaker notes, returning matches with context. Supports substring and regex queries.

Instructions

Search for text across all slides (or a slide range) in the presentation — like grep for slides. Searches shape text, table cells, and speaker notes. Returns matching shapes with context at the chosen level. Case-insensitive substring by default; supports regex.

Input Schema

NameRequiredDescriptionDefault
queryYesText to search for. Plain substring by default, or a regex pattern when regex=true.
regexNoTreat query as a regular expression. Default: false (plain substring).
contextNoResult detail level. "shape" (default): matching shapes with text. "slide": all shapes on matching slides with matched markers. "none": just matching slide indices.
slideRangeNoOptional slide range to search, e.g. "0-4" or "2-7". Zero-based. Omit to search all slides.
includeNotesNoSearch speaker notes in addition to slide content. Default: true.
caseSensitiveNoCase-sensitive search. Default: false.
presentationIdNoTarget presentation ID from list_presentations. Optional when only one presentation is connected.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.0

TDQS

A4.2/5.0
Behavior4/5

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

No annotations exist, so the description carries the full burden and does disclose key behavior: case-insensitive substring by default, regex support, which content is searched, and what is returned (matching shapes with context). It omits read-only/side-effect guarantees and any auth or performance notes, keeping it below a 5.

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

Conciseness5/5

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

Two tight sentences, front-loaded with the core action and analogy, then the searched surfaces and return behavior. No filler or redundancy.

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?

With seven parameters, no output schema, and no annotations, the description adequately covers return shape (matching shapes with context at the chosen level) and search scope. It could say more about result limits or ordering, but nothing critical for invocation is missing.

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 coverage is 100%, so every parameter including query, regex, context, slideRange, includeNotes, caseSensitive, and presentationId is already documented in the schema. The description reinforces the default case-insensitivity and return-level concepts but adds little beyond the structured fields, so the baseline 3 applies.

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?

States a specific verb and resource ("Search for text across all slides") and distinguishes itself from siblings with the concrete analogy "like grep for slides." It also names exactly what is searched: shape text, table cells, and speaker notes.

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

Usage Guidelines4/5

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

Explains when to use it implicitly through scope (slide range, notes inclusion, context level) and the grep analogy settles the search intent. It does not explicitly exclude or point to alternatives like read_deck_text or scan_slide, which is the only gap.

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