Skip to main content
Glama

search_extensions

Keyword search (1-3 words, e.g. "send email", "google sheets") over extension methods: this workspace's own and shared extensions. Each row is one method: id, registerAs, requiresOAuth, and its service's hostType/packageId/serviceId. isAgentTool (default false): false finds actions and triggers for add_block; true finds tools for add_agent_tool (actions, MCP tools, knowledge bases; never triggers). registerAs filters by method kind: "KNOWLEDGE_BASE" only with isAgentTool: true; "POLLING_TRIGGER" / "REALTIME_TRIGGER" only with isAgentTool: false. To narrow to one service pass hostType, packageId and serviceId together; a partial triple is rejected. requiresOAuth: a connection is needed, not that one exists — see get_block_schema connections. limit: default 30, max 100. Without query: empty when isAgentTool is false; with isAgentTool: true lists this workspace's own tools (built-in tools: list_block_types agentTools).

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNo
hostTypeNoIdentifies an extension service together with packageId and serviceId: copy all three from one row of search_extensions, search_shared_extensions or list_extension_services, exactly as shown — never retyped or guessed. null for an MCP server or a knowledge base (their rows show hostType and packageId as null). An unknown or mismatched combination is rejected.
packageIdNoFrom the same row as hostType; null if the row has none.
serviceIdNoFrom the same row as hostType.
registerAsNo
isAgentToolNo
workspaceIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so: it discloses defaults (isAgentTool false, limit 30), bounds (max 100), rejection behavior for partial triples and mismatched hostType combos, and the important caveat that requiresOAuth means a connection is needed, not that one exists, pointing to get_block_schema connections.

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?

Front-loaded with purpose and result shape, then parameter semantics in a logical order, with essentially no filler. It is dense and clause-heavy, using semicolons and parentheticals where short sentences would read more cleanly.

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 an eight-parameter search tool with no output schema, the description covers selection logic, filtering constraints, defaults, limits, failure modes, and the returned row fields. An agent has everything needed to invoke it correctly and to interpret results.

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

Parameters5/5

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

Schema coverage is only 38%, so the description must compensate, and it does: it defines the permitted registerAs values per isAgentTool mode, the semantics of isAgentTool, the limit default and ceiling, the meaning of requiresOAuth, and the all-three-or-none rule for the service-identifying triple.

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 opens with a concrete verb and resource: keyword search over extension methods in this workspace and shared extensions, with a stated query format (1-3 words with examples). It also specifies the row shape (id, registerAs, requiresOAuth, hostType/packageId/serviceId). It doesn't explicitly say how it differs from search_shared_extensions or list_extension_methods, so sibling differentiation is left implicit.

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?

It spells out exactly which mode to choose: isAgentTool false for add_block actions/triggers, true for add_agent_tool (and notes triggers are never returned in that mode). It gives the registerAs compatibility matrix, the rule that hostType/packageId/serviceId must be passed together, and what happens when query is omitted.

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.

Resources