Skip to main content
Glama

emojihub

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?

Beyond the annotations (readOnly, openWorld, idempotent), the description reveals significant behavioral traits: uses 'BGE-base-en embeddings + cosine over 500-char overlapping windows,' enforces a 'cap is 200K chars' with truncation and flagging, and describes output as 'passages with character offsets and similarity scores.' This is exactly the kind of operational detail annotations do not capture.

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 description is front-loaded with the core purpose in the first sentence, then methodically covers usage, pairing, and technical details. Each of the five sentences earns its place — no filler. It is slightly longer than the ideal two-sentence example, but the complexity of the tool justifies the extra sentences.

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?

Given no output schema, the description adequately explains return values ('top-N passages with character offsets and similarity scores'), operational limits (200K cap, truncation flag), and the integration workflow with ask_pipeworx_grounded. It covers all essential aspects a caller needs to know: when to use, how it works, what it returns, and its constraints.

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 coverage is 100%, so the baseline is 3. The description adds value by giving real-world examples for both text and query: 'a SEC 10-K body, an article, a long tool result' and query examples like 'supply-chain risk' and 'drug interactions with warfarin.' These examples clarify the intended usage better than the schema descriptions 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 opens with a specific verb-resource pair: 'Semantic search INSIDE a fetched record.' It clearly distinguishes from siblings by explicitly pairing with ask_pipeworx_grounded and explaining that it operates on already-pulled text, not whole documents. The examples of record types (SEC 10-K, article, long tool result) further clarify scope.

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?

Provides explicit when-to-use guidance: 'Use when the record is too big to cram into the prompt — search_within saves context, returns only the passages that matter.' It also names a specific complementary tool (ask_pipeworx_grounded) and the recommended workflow ('fetch with the gateway, ground over the relevant passages'), giving clear alternatives and integration context.

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.9/5.0
Disambiguation4/5

Most tools have clearly distinct purposes, but there is some overlap among the numerous Pipeworx query and prediction market tools (e.g., polymarket_arbitrage vs. polymarket_edges vs. polymarket_fill_risk). Descriptions help differentiate them, so the ambiguity is minor.

Naming Consistency3/5

Tool names use a mix of verb_noun patterns (e.g., list_subscriptions, validate_claim), phrases (ask_pipeworx, bet_research), and standalone nouns (pipeworx_feedback). While readable, the lack of a single consistent convention makes the set feel less cohesive.

Tool Count3/5

33 tools is on the high side, with many highly specialized prediction market and Pipeworx management tools. The server's name 'emojihub' suggests a narrow focus, but the actual scope is much broader, making the count feel somewhat inflated for its apparent purpose.

Completeness4/5

The tool set covers a vast domain: factual data retrieval, company profiles, comparisons, claim validation, prediction market analysis, memory, subscriptions, and emoji lookup. Minor gaps exist (e.g., no direct tool for simple web search), but overall coverage is comprehensive.