Skip to main content
Glama

okfindex

Team search base

team_search_base
Read-onlyIdempotent

Search the full text of your base. Team access uses current account membership, product access and resource sharing on every request. Revocation also blocks search, originals, Markdown, OKF and ZIP downloads with an existing session or key. Sharing a collection grants current and future files in its owner's referenced bases; other owners' bases expose published files only. Sharing does not publish a resource. Only the resource owner changes sharing. The initial grant requires the owner's session with origin and CSRF checks. Organization API keys stay within their existing grants. Responses use private, no-store.

Input Schema

NameRequiredDescriptionDefault
qYes3–160 characters. Search a word or phrase in document bodies, in the order entered. Case and accent insensitive. MySQL FULLTEXT token and stopword rules apply.
afterNoContinue from the cursor in next. Do not construct cursors.
base_idYesThe 64-character ID returned by the API.
organization_idYesAn existing organization ID from list_knowledge_teams. The account must be an active member and OKFIndex must be enabled.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, destructiveHint=false), so the bar is lower, and the description adds real context beyond them: per-request membership/product-access evaluation, what revocation blocks, and that responses are private/no-store. Most of this is family-wide auth boilerplate rather than search-specific behavior, but it does disclose real operational constraints.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is correctly front-loaded in the first sentence, but six of eight sentences are generic sharing/revocation/CSRF policy that applies to the whole API family rather than to invoking this search tool. The relevant information is buried and the word count is inflated by boilerplate.

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?

For a read-only, idempotent search tool with full schema coverage and an explicit 'Do not construct cursors' note, the description covers purpose and access requirements adequately. It omits result-shape or hit-count/page-size expectations, though with no output schema that is a minor gap.

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 description coverage is 100%, so q (3–160 chars, FULLTEXT token rules), base_id, organization_id and the after cursor are all documented in the schema. The description adds no parameter-level detail (no query syntax, no cursor semantics), so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence states a specific verb+resource (search the full text of a base) and the 'team' framing signals the team-access variant. However, it never differentiates itself from the closely named siblings search_base, public_search_base, or team_search_collection, so an agent must infer which search surface to pick from naming alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no explicit when-to-use guidance: nothing says when this team-scoped search should be chosen over search_base or team_search_collection, nor any prerequisite step such as obtaining organization_id via list_knowledge_teams before calling. Access-control prose describes policy but not selection criteria.

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.