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 declare readOnlyHint, idempotentHint, and non-destructive behavior. The description adds substantial behavioral context: BGE-base-en embeddings, cosine similarity, 500-char overlapping windows, 200K char cap with truncation flag, and that each passage carries character offsets for verification. No contradictions 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?

The description is three sentences, front-loaded with the core action. Each sentence serves a purpose: stating the function, providing usage context, and detailing technical behavior. No fluff or redundancy.

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?

Given no output schema, the description covers the return format ('top-N passages with character offsets and similarity scores') and highlights important constraints (200K char cap, truncation flag). Could be slightly improved by explicitly stating whether offsets are start/end positions, but overall sufficient for an agent.

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 parameters are already described. The description adds value by providing natural-language query examples (e.g., 'supply-chain risk') and clarifying the text length limit and default limit. This enhances understanding beyond the schema descriptions.

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?

Description clearly states 'Semantic search INSIDE a fetched record', specifying the verb (search) and resource (record). It distinguishes from sibling tools like search_by_name by emphasizing the post-fetch context and 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 Guidelines5/5

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

Explicitly says 'Use when the record is too big to cram into the prompt' and explains that it saves context by returning only relevant passages. Also mentions pairing with ask_pipeworx_grounded for a typical workflow, providing clear guidance on when to use this tool vs. alternatives.

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

The tool set mixes several distinct domains (satellite orbital data, Pipeworx data routing, prediction-market analysis, memory management, subscriptions), but within the Pipeworx umbrella there is heavy overlap: ask_pipeworx, ask_pipeworx_beta, ask_pipeworx_grounded, deep_research, and validate_claim all route natural-language questions to the same underlying 5,756 tools. An agent could easily misselect between them, especially since ask_pipeworx and ask_pipeworx_beta are described as currently identical.

Naming Consistency3/5

Many tools follow a clear verb_noun pattern (list_subscriptions, create... none, but compare_entities, resolve_entity, generate_llms_txt, scan_dependency, subscribe/unsubscribe, remember/recall/forget), yet the naming is inconsistent across the set: ask_pipeworx, ask_pipeworx_beta, ask_pipeworx_grounded, get_satellite, get_group, recent_alerts, recent_changes, entity_profile, and deep_research do not share a uniform convention. CamelCase appears in polymarket_arbitrage, polymarket_edges, etc. while most others are snake_case, and the satellite tools (get_satellite, get_group, search_by_name) form a distinct sub-pattern that clashes with the Pipeworx meta-tools.

Tool Count2/5

34 tools is on the heavy side, and the effective surface is bloated: there are three variants of ask_pipeworx, four polymarket_* tools, three satellite-specific tools that are unrelated to the server's apparent core purpose, and several meta/utility tools (remember, recall, forget, pipeworx_feedback, pipeworx_trending, suggest_questions) that could be consolidated or are only tangentially related. The count itself is not extreme, but the scope is muddled: the server claims the name Celestrak (satellite tracking) while the overwhelming majority of tools are for Pipeworx data access and prediction markets, making the tool count feel inappropriate for either purpose.

Completeness3/5

For the Pipeworx data-access domain, the tool set is quite thorough: natural-language routing, grounded answers, deep research, entity profiling, entity comparison, claim verification, semantic search, and tool discovery are all present. However, there are notable gaps: the subscription lifecycle lacks an update/resume mechanism, and the satellite domain (the server's namesake) is severely incomplete — only three lookup tools with no live tracking, no group listing beyond a handful of groups, and no clear lifecycle CRUD. The memory tools (remember/recall/forget) are minimal but complete for their narrow scope.