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.8/5.0
Behavior5/5

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

Annotations already provide safety hints (readOnlyHint, idempotentHint, etc.). The description adds valuable behavioral details such as embedding model (BGE-base-en), windowing (500-char overlapping), character cap (200K), and truncation behavior, which go 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?

The description is two sentences, front-loaded with key information, and contains no extraneous words. Every sentence adds value.

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 no output schema, the description fully explains the return format (top-N passages with offsets and scores) and the verification use case. It is complete for this tool's complexity.

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 100%, yet the description adds meaningful context: examples for query, max char limit for text, and range/default for limit. This enhances understanding beyond the schema alone.

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 clearly states it performs semantic search inside a fetched record, using specific verb 'search' and resource 'source'. It distinguishes from siblings by mentioning pairing with ask_pipeworx_grounded.

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 explicitly advises use when 'the record is too big to cram into the prompt' and mentions integration with ask_pipeworx_grounded. While it doesn't explicitly state when not to use, the context provides clear guidance.

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

B3.1/5.0
Disambiguation2/5

The set mixes two unrelated domains — Bitcoin mempool explorer tools and the much larger Pipeworx data-query platform — and within the Pipeworx half several tools route to the same 5,743-tool catalog (ask_pipeworx, deep_research, discover_tools, suggest_questions). ask_pipeworx_beta is currently an exact behavioral duplicate of ask_pipeworx, and the polymarket_* family has fuzzy boundaries (arbitrage vs edges vs fill_risk, with fill-checking living in both polymarket_arbitrage and polymarket_fill_risk), so an agent must read long descriptions to avoid misselection.

Naming Consistency3/5

All names use snake_case and there are recognizable sub-families (get_* Bitcoin lookups, ask_pipeworx_*, polymarket_*), but conventions are mixed across the whole set: bare-noun state tools (block_height, hashrate, mempool_stats, mining_pools) sit beside verb_noun actions (get_block, list_subscriptions), and prefix placement is inconsistent (ask_pipeworx vs pipeworx_trending/pipeworx_feedback). The naming is readable but not predictable enough to guess a tool's name from its function.

Tool Count2/5

41 tools is well past the 25+ threshold for a coherent server, and the count is inflated by bundling two unrelated products under a server named after only the smaller half (~10 Bitcoin tools vs ~31 Pipeworx tools). Many Pipeworx tools are convenience wrappers around one universal router, adding surface area without adding genuinely new capabilities.

Completeness3/5

Each half is internally workable: the Bitcoin side covers blocks, transactions, addresses, fees, hashrate, and pools, while the Pipeworx side provides broad query, research, subscription, and memory lifecycles. However, there are notable gaps relative to each domain (no block-list/fee-history endpoints on the explorer side; no direct per-source CRUD on the data side), and no single coherent domain is fully served because the server's stated identity matches only a fraction of its tools.