Skip to main content
Glama

Search Within a Source

search_within
Read-onlyIdempotent

Semantic search INSIDE a fetched record. Pass the text you already pulled (e.g. a SEC 10-K body, an article, a long tool result) plus a natural-language query; get back the top-N passages with character offsets and similarity scores. Use when the record is too big to cram into the prompt — search_within saves context, returns only the passages that matter, and every passage carries an offset so the agent can verify a verbatim quote. Pairs with ask_pipeworx_grounded: fetch with the gateway, ground over the relevant passages instead of the whole document. BGE-base-en embeddings + cosine over 500-char overlapping windows; cap is 200K chars (longer inputs are truncated and flagged).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesThe document text to search inside (max ~200K chars).
limitNoMax passages to return (1-20, default 5).
queryYesNatural-language query — what passages do you want? E.g. "supply-chain risk", "fiscal year 2024 revenue", "drug interactions with warfarin".

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already indicate read-only, open-world, idempotent, and non-destructive behavior. The description adds critical behavioral details such as the 200K character limit with truncation flagging, the embedding model (BGE-base-en), cosine similarity over 500-char overlapping windows, and that returned passages include offsets and scores. This fully discloses behavior beyond annotations.

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?

Every sentence serves a purpose. The description is front-loaded with the primary action, followed by usage context, technical details, and pairing information. It is concise yet comprehensive with no wasted words.

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?

Despite the lack of an output schema, the description sufficiently explains return values (passages with character offsets and similarity scores) and constraints (200K char limit, truncation flagging). It also provides integration context with a sibling tool, covering all necessary information for an AI agent to invoke the tool correctly.

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 the baseline is 3. The description reinforces the purpose of 'text' and 'query' but does not add significant new meaning beyond the schema. The examples for 'query' are slightly helpful but not transformative.

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 explicitly states that the tool performs 'Semantic search INSIDE a fetched record' and clearly distinguishes it from sibling tools by specifying the use case: when a record is too large to include in the prompt. It contrasts with 'ask_pipeworx_grounded' and other search tools, making its unique purpose clear.

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?

The description provides explicit guidance on when to use the tool ('Use when the record is too big to cram into the prompt') and mentions pairing with 'ask_pipeworx_grounded'. It does not explicitly state when not to use it, but the context is sufficiently clear for an AI agent to make an informed choice.

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.

TDQS

A3.6/5.0
Disambiguation2/5

Many tools overlap in purpose, e.g., ask_pipeworx, ask_pipeworx_grounded, deep_research, entity_profile, and validate_claim all perform data lookups with subtle differences. Polymarket tools also have overlapping scopes. The large number of tools with similar functions creates confusion.

Naming Consistency3/5

Names are inconsistent: some use verb_noun (get_image, list_subscriptions), others are descriptive phrases (ai_visibility_check, bet_research), and some are single words (forget, recall). No clear pattern.

Tool Count2/5

33 tools is high, and many are unrelated to Dockerhub. The server name suggests a focused Docker toolset, but the bulk of tools are for Pipeworx/Polymarket/data lookups, making the count excessive for the advertised domain.

Completeness2/5

As a Dockerhub server, it lacks basic Docker operations like push, delete, or manage repositories. As a general data toolset, it covers many domains but still misses some core operations (e.g., no tool for searching inside images).