Skip to main content
Glama

search_blocks

Search verified nTop block signatures by keyword and category to find functions, output types, and input slots across built-in or local catalogs.

Instructions

Search verified nTop block signatures (function names, output types, input slots) across built-in & local catalog.

Args: query: Keyword substring (e.g. "shell", "boolean", "mesh", "export", "fe_"). category: Optional category filter (modeling, geometry, meshing_and_fe, export_import, math_and_fields, core, lattice). catalog_path: Optional custom catalog JSON path. limit: Maximum number of matches to return.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_blocks"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNo
categoryNo
catalog_pathNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses that results come from verified signatures in built-in and local catalogs, but it does not explicitly state that the operation is read-only, nor does it mention matching semantics such as case sensitivity or empty-query behavior. For a search tool this is adequate but not rich.

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?

The definition is front-loaded with the core purpose and then uses a structured Args block to document parameters. It is efficient and easy to scan, with no unnecessary marketing language. The Args formatting is slightly verbose but still appropriate for a 4-parameter tool.

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?

The tool has four optional parameters and an output schema, so the description does not need to explain return values. It documents all parameters and the catalog scope, which is sufficient for calling it correctly. The main gap is the absence of explicit guidance on when to use it versus related tools.

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 description coverage is 0%, so the description must compensate, and it does: it documents all four parameters, gives substring examples for query, lists valid category values, and explains that catalog_path is a custom catalog JSON path. It does not clarify edge cases such as empty query or limit default, which keeps it from a 5.

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 states a specific verb and resource: search verified nTop block signatures across built-in and local catalogs. It clarifies what is searched (function names, output types, input slots), making the purpose distinct from general notebook or file tools. It does not explicitly name a sibling alternative, so it falls short of a 5.

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?

Usage is implied by the query examples and the catalog scope, but there is no explicit statement of when to use this tool versus related tools such as build_block_catalog or evaluate_block. The Args section tells the agent how to narrow a search, but not when this search is the right choice.

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