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?

Beyond the annotations (readOnly, openWorld, idempotent, non-destructive), the description reveals substantial behavioral traits: it returns 'top-N passages with character offsets and similarity scores,' uses 'BGE-base-en embeddings + cosine over 500-char overlapping windows,' and enforces a '200K chars' cap with truncation flagged. This gives the agent a vivid picture of what will happen when it invokes the tool.

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 four well-crafted sentences: it states the core function, the returned data, the use case, and the technical constraints. Every sentence carries distinct value, and none are redundant or verbose despite covering rich detail.

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?

With no output schema, the description must explain what the caller will receive, and it does: 'get back the top-N passages with character offsets and similarity scores.' It also covers the 200K-char cap and truncation behavior, making it complete enough for an agent to understand the tool's contract in any context.

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 coverage is 100%, so the description need not explain each parameter, but it reinforces the meaning of 'text' and 'query' with examples (e.g., 'a SEC 10-K body' and query examples like 'supply-chain risk'). Still, it adds no new information about 'limit' or edge-case parameter formatting that the schema doesn't already provide, so it stays at the baseline for high coverage.

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+scope: 'Semantic search INSIDE a fetched record,' making the tool's function immediately clear. It further differentiates from siblings by emphasizing that the input is text already pulled from a record, not a database-wide search, which distinguishes it from tools like 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 states when to use it ('Use when the record is too big to cram into the prompt') and provides an alternative workflow by pairing with ask_pipeworx_grounded ('fetch with the gateway, ground over the relevant passages instead of the whole document'). However, it lacks an explicit when-not to use or a direct comparison to other similar semantic search tools, so it stops short of fully exhaustive 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

C2.9/5.0
Disambiguation2/5

Many tools overlap significantly: ask_pipeworx, ask_pipeworx_beta, and ask_pipeworx_grounded are near-identical variants, while deep_research, discover_tools, and suggest_questions all serve meta/onboarding purposes. The Steam-specific tools are distinct, but they are drowned out by a large unrelated set (Polymarket, Pipeworx, npm scanning) that makes selection confusing.

Naming Consistency2/5

Tool names follow no single convention: some are verb_noun (resolve_vanity_url, generate_llms_txt), some are noun-only (app_details, player_stats), and others use domain prefixes inconsistently (polymarket_arbitrage, ask_pipeworx_grounded, deep_research). The mix of descriptive and vague names (process, run, execute) adds to the inconsistency.

Tool Count2/5

At 45 tools, the server is heavily overloaded, especially for a server named 'Steam' where only about a third of the tools actually relate to Steam. The rest belong to Pipeworx, Polymarket, and other unrelated domains, making the scope unclear and the tool count far too large for a focused purpose.

Completeness3/5

For the Steam domain, the server covers a reasonable range: app details/news, player counts, friends, owned games, achievements, stats, bans, levels, and summaries. However, notable gaps exist such as store search, reviews, wishlist, or any user inventory/trading features. The non-Steam tools add breadth but do not address these missing Steam operations.