Skip to main content
Glama

Search blocks

search_blocks
Read-only

Searches the block types flows are built from by words in their type, title or description. Without words it lists all of them by title only.

Input Schema

NameRequiredDescriptionDefault
queryNoWords to search for, like "ban member".
contextNoOnly blocks that can be used in this type of flow.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/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. The description adds genuinely new behavior: queryless calls degrade to a full title-only listing, which tells the agent what to expect from an empty search. It omits pagination and result-count limits.

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 short sentences, zero filler, with the search behavior front-loaded and the degenerate case immediately after. Every clause earns its place.

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?

For a read-only, two-optional-parameter search tool with no output schema, the description covers the search semantics and the empty-query case, so an agent can call it correctly. Only the return shape (fields per result) and result limits are left implicit.

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 already 100%, so the baseline is 3. The description goes beyond it by stating which fields the query string is matched against (type, title, description) and what happens when query is absent, adding real semantics the schema does not carry.

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?

A specific verb (searches) and a specific resource (block types flows are built from), plus the match fields (type, title, description). It is clearly distinct from search_discord_api and search_templates by naming the block-type domain, though it never names a sibling directly.

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

Usage Guidelines3/5

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

The second sentence establishes the no-argument behavior (list everything by title only), which implicitly tells an agent that omitting query is valid. However, it gives no guidance on when to use this versus get_blocks or the other search tools in the sibling set.

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.