Skip to main content
Glama

Find SemanticHub operations

semantichub_api_search
Read-onlyIdempotent

Finds the right SemanticHub operation by keywords across goals, sources, clusters, results, workflows, knowledge bases and the queue. Returns each match with its operation_id, a short summary, and a flag telling you whether it needs the user's confirmation before it runs. Pass the operation_id to api_details, api_read or api_write.

Input Schema

NameRequiredDescriptionDefault
tagNoOptional area filter, for example `goals`, `workflow` or `portals`. The response lists every available tag.
queryYesKeywords describing what you want to do, for example 'list projects', 'pause project' or 'workflow brief'. Up to 200 characters.
methodNoOptional HTTP method filter: GET for reading, POST, PUT, PATCH or DELETE for changes.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / method / description
      Added value: +"Optional HTTP method filter: GET for reading, POST, PUT, PATCH or DELETE for changes."
    • addedInput schema / properties / query / description
      Added value: +"Keywords describing what you want to do, for example 'list projects', 'pause project' or 'workflow brief'. Up to 200 characters."
    • addedInput schema / properties / tag / description
      Added value: +"Optional area filter, for example `goals`, `workflow` or `portals`. The response lists every available tag."
  2. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and openWorldHint=false, so the safety profile is covered. The description adds useful context that results include a confirmation flag indicating whether the operation needs user approval before running. However, it says little about result limits or ranking behavior.

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?

Three tight sentences, front-loaded with the core purpose, then the return shape, then the next step. Every sentence carries actionable information with no filler.

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 search tool with a full output schema and complete parameter descriptions, the definition covers purpose, return fields and the hand-off to detail/read/write tools. Minor gaps remain around result count limits and whether the confirmation flag comes from annotations or matched operation metadata, but nothing essential for correct 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 description coverage is 100%, so all three parameters are already documented in the schema, including the tag examples, the query keyword format and the 200-character limit, and the GET/POST/PUT/PATCH/DELETE method mapping. The description adds no parameter detail beyond what the schema provides, 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?

The description states a specific verb and resource ('Finds the right SemanticHub operation') and enumerates the searchable domains (goals, sources, clusters, results, workflows, knowledge bases, queue). It also names the follow-up tools (api_details, api_read, api_write), making it easy to distinguish from siblings like semantichub_search_articles.

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?

It clearly indicates this is the entry point for locating an operation and that the resulting operation_id must be passed to api_details, api_read or api_write. The method filter's GET-vs-mutation mapping is explained in the schema, though the description itself doesn't state exclusions such as when to skip search and call a read tool directly.

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