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

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, destructiveHint. The description adds rich behavioral details beyond annotations: BGE-base-en embeddings, cosine similarity, 500-char overlapping windows, 200K char limit with truncation and flagging, and return of character offsets and similarity scores.

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 well-organized: starts with the core purpose, then usage context, then return details, then pairing with other tools, and finally technical specifics. It is informative but could be slightly more concise without losing clarity.

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 effectively explains return values (top-N passages with offsets and similarity scores). It also covers pairing with another tool and technical details about the embedding model and limits. Still, it could mention error conditions or edge cases (e.g., empty result handling).

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 baseline is 3. The description adds value by explaining that 'text' is 'the document text you already pulled', 'query' is a natural-language question with examples, and clarifying the max length constraint for text. This goes beyond the schema's minimal 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?

The description clearly specifies 'semantic search INSIDE a fetched record' with a specific verb ('search') and resource ('inside a fetched record'). It distinguishes from siblings by mentioning pairing with ask_pipeworx_grounded and the gateway, and by contrasting with cramming the record into the prompt.

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 says 'Use when the record is too big to cram into the prompt' and suggests pairing with ask_pipeworx_grounded. It provides clear context but does not list explicit when-not-to-use scenarios beyond the implied alternative.

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
Disambiguation3/5

Most tools have distinct purposes, but the ask_pipeworx family (ask_pipeworx, ask_pipeworx_beta, ask_pipeworx_grounded) plus deep_research creates real boundary confusion, and the six polymarket_* tools overlap enough to require careful reading. The few Scryfall card tools are clearly distinct from the Pipeworx bulk, but the name mismatch adds selection friction.

Naming Consistency4/5

All tool names use snake_case and most follow a verb_noun pattern (get_card, search_cards, resolve_entity, validate_claim). There are deviations like entity_profile, deep_research, and pipeworx_trending, but the nested families (ask_pipeworx*, polymarket_*) are internally consistent and predictable.

Tool Count2/5

35 tools is above the 25+ threshold and is especially mismatched with the server name 'Scryfall', which implies a focused MTG card server. Only 4 of 35 tools relate to Scryfall; the remaining 31 form a sprawling data-research platform that would be more appropriately split into separate servers.

Completeness4/5

The dominant Pipeworx data-research surface is remarkably complete: universal lookup, grounded answers, deep research, entity profiles, comparisons, entity resolution, claim validation, change feeds, subscriptions, memory, and discovery. The Scryfall subset covers core card lookup (search, get by name, random, list sets) but lacks rulings, set details, and card-by-ID lookups, which is a minor gap relative to the server's stated name.