Skip to main content
Glama

search_flows

Read-only

Find every flow and block whose contents contain a keyword. Read-only. Searches message text and its translations, button labels and URLs, action names and configs, action input/output field paths and values, condition operands, trigger commands and payloads, custom-code files, and flow names and descriptions. A keyword matching a VARIABLE NAME also returns the blocks that reference that variable, which plain text search cannot do because blocks store variable ids, not names. Use this instead of walking flows with get_flow_context when you know what the content says but not where it lives. Broadcast-backed flows and operation graphs are excluded — use list_broadcasts and the operations tools for those.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum flows to return. Defaults to 30; values above 100 are clamped to 100. Check `truncated` to detect a cut-off result set.
queryYesRequired. Case-insensitive substring, at least 2 characters. Matched against text, not tokenised — search a distinctive phrase or a variable name rather than a single common word.
applicationIdNoApplication (workspace) id. Optional: an application-scoped key (app_...) defaults to its own application, but a personal key (usr_...) has no default and omitting it fails with MCP_APPLICATION_REQUIRED. Call list_applications to get the id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the readOnlyHint annotation, the description discloses meaningful behavior: variable-name search returns referencing blocks despite blocks storing ids, matching is not tokenized, broadcast-backed flows and operation graphs are excluded, and the tool is read-only. It adds substantial behavioral context above the annotations and never contradicts them.

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?

The description is long but information-dense; it enumerates search targets, explains the variable-name nuance, gives usage guidance, and lists exclusions without repetition. Every sentence contributes a distinct, actionable fact for the agent.

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

Completeness5/5

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

For a read-only search tool with three documented parameters, the description covers the purpose, scope, parameter behavior, exclusions, and alternatives. It also surfaces edge cases like variable ids and personal-key application requirements are covered in the schema. Nothing critical for selecting and invoking the tool correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already documents all parameters. The description adds important query-parameter semantics by explaining that a keyword matching a variable name returns blocks referencing that variable, which plain text search cannot do. This goes beyond the schema's basic 'case-insensitive substring' note, though limit and applicationId semantics are left to the schema.

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 every flow and block whose contents contain a keyword.' It enumerates the exact searchable content areas and explicitly distinguishes itself from get_flow_context and list_broadcasts, so an agent can clearly tell what this tool does and does not cover.

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?

The description gives explicit when-to-use guidance: 'Use this instead of walking flows with get_flow_context when you know what the content says but not where it lives.' It also states exclusions and the correct alternatives: 'Broadcast-backed flows and operation graphs are excluded — use list_broadcasts and the operations tools for those.' This is model guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.