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".

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Added

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint=false, so the safety profile is clear. The description goes beyond annotations by revealing the embedding model (BGE-base-en), cosine similarity over 500-char overlapping windows, the 200K char cap with truncation flag, and that outputs include offsets for verbatim verification. No contradiction with 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?

Four sentences, each purposeful: first states the core function, second explains when to use it and the benefit, third notes the integration with a sibling tool, and fourth gives technical details. No repetition or filler; information is front-loaded and tightly packed.

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?

Though there is no output schema, the description fully explains the return format (passages with character offsets and similarity scores), truncation behavior, and the 200K char limit. It also describes the end-to-end workflow with ask_pipeworx_grounded, making the tool self-sufficient for an agent to invoke correctly.

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 description coverage is 100%, so the baseline is 3. The description adds contextual examples for text ('SEC 10-K body, an article, a long tool result') and clarifies the query type, plus the character cap, which enriches parameter meaning beyond the schema's bare descriptions. However, it doesn't add distinct semantics for the limit parameter since the schema already covers its bounds and default.

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 'Semantic search INSIDE a fetched record' and specifies the exact operation: pass text and a natural-language query, receive top-N passages with character offsets and similarity scores. It distinguishes itself from siblings by emphasizing it works on already-fetched text rather than querying a knowledge base, and explicitly pairs 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides explicit usage context: 'Use when the record is too big to cram into the prompt' and recommends a complementary workflow with ask_pipeworx_grounded. This tells the agent when to choose this tool and how to combine it with a sibling, which is excellent 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

A3.8/5.0
Disambiguation2/5

ask_pipeworx and ask_pipeworx_beta are explicitly described as currently identical, creating real ambiguity between two tools. The polymarket cluster (arbitrage, edges, fill_risk, edge_tracker, kalshi_spread, bet_research) has overlapping edge-finding purposes that rely on reading long descriptions to separate, and the DNS tools are so few that an agent cannot tell this is a 'dns' server at all.

Naming Consistency2/5

The set mixes at least four naming conventions: bare verbs (remember, forget, subscribe), verb_noun (dns_lookup, validate_claim, discover_tools), noun phrases (entity_profile, deep_research, recent_alerts), and brand-prefixed families (ask_pipeworx_*, polymarket_*, pipeworx_*). Each cluster is internally consistent, but the overall pattern is incoherent, including stray names like reverse_dns that invert the verb_first convention.

Tool Count2/5

At 34 tools this exceeds the 25+ threshold for a heavy surface, and the count is wildly mismatched to the server's name: only 3 of 34 tools (dns_lookup, dns_lookup_all, reverse_dns) relate to DNS. The remaining 31 tools belong to unrelated domains (data research, prediction markets, memory, subscriptions, npm scanning), making the toolkit feel like a mislabeled grab-bag rather than a scoped server.

Completeness3/5

Judged against the server's stated 'dns' purpose, coverage is thin: read-only lookups only, with no WHOIS, DNSSEC, zone management, or write operations. Judged against the dominant inferred domain (a data-research/prediction-market platform), the surface is quite complete — query, grounded verification, deep research, profiles, comparisons, claim validation, discovery, subscriptions, alerts, and feedback all exist — though there is no tool to directly read a pipeworx:// citation URI.