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?

Even though annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint false, the description adds concrete behavioral detail: BGE-base-en embeddings, cosine similarity, 500-char overlapping windows, a 200K character cap with truncation flagging, and passage offsets for quote verification. This goes well beyond the annotation hints and no contradiction exists.

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 concise despite its length: four sentences cover purpose, usage trigger, sibling pairing, return format, and algorithmic constraints. It uses bold key phrases and front-loads the core purpose. Every sentence adds actionable information.

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?

For a search tool with 3 parameters and no output schema, the description fully compensates by detailing return values (top-N passages with offsets and similarity scores), the 200K character cap, truncation behavior, and the intended workflow with ask_pipeworx_grounded. The annotation set covers safety, so no critical behavioral gaps remain.

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?

With 100% schema description coverage, the baseline is 3, but the description enriches semantics by clarifying that text is 'already pulled,' has a 200K char cap, and that longer inputs are truncated and flagged. It also ties the query to natural-language examples in the schema. This adds value beyond the schema's property 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 opens with 'Semantic search INSIDE a fetched record,' naming the specific verb (search), resource (text within fetched record), and operation (retrieve passages). It clearly distinguishes itself from siblings by contrasting with ask_pipeworx_grounded and by emphasizing that it operates on text already supplied, not on retrieval.

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?

It explicitly states when to use it: when a record is too big to fit in the prompt, because it returns only relevant passages and saves context. It pairs with ask_pipeworx_grounded, instructing to fetch with the gateway and ground over relevant passages, giving clear alternative/complementary usage.

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

Many tools have overlapping purposes, especially the multiple 'ask_pipeworx' variants and several Polymarket utilities. The server mixes a few timezone tools with a large collection of unrelated data lookup and analysis tools, making it hard for an agent to distinguish which tool to use for a given task.

Naming Consistency2/5

While all tool names use snake_case, the verbs are highly inconsistent (e.g., 'ask_pipeworx', 'convert_time', 'discover_tools', 'validate_claim'). There is no clear pattern or predictable naming convention across the set.

Tool Count2/5

The server name 'timezone' suggests a narrow domain, but it contains 35 tools, the vast majority of which are unrelated to timezones. This is far too many for the implied scope, and the server seems to be a dumping ground for various services.

Completeness1/5

For a timezone server, only 4 tools (convert_time, get_time_by_ip, get_time_by_timezone, list_timezones) are relevant. Critical timezone functionality like time zone conversions with arbitrary offsets, DST handling, or time zone by coordinates is missing. The remaining tools are completely unrelated to the server's stated purpose.