Skip to main content
Glama
Pinecone Read-Only MCP

Pinecone Read-Only MCP

by cppalliance

keyword_search

Search Pinecone sparse indexes for exact or keyword-style matches within a namespace; use it for lexical queries rather than semantic similarity.

Instructions

Keyword (lexical/sparse-only) search over the Pinecone sparse index ({indexName}-sparse). Use for exact or keyword-style queries. Does not use semantic reranking. Call list_namespaces first to discover namespaces. Does not require suggest_query_params.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query_text": "<query_text>",
      "namespace": "<namespace>"
    },
    "name": "keyword_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
top_kNoNumber of results to return (1-100). Default: 10
fieldsNoOptional field names to return. Omit for all fields; use suggest_query_params for suggestions.
sourceNoPinecone source name (from list_sources). Omit on discovery tools to search all sources. On query tools, omit only when namespace uniquely identifies one source.
namespaceYesNamespace to search. Use list_namespaces to discover available namespaces.
query_textYesSearch query text (keyword/lexical match).
metadata_filterNoOptional metadata filter to narrow results.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it does disclose meaningful traits: sparse-only retrieval, no semantic reranking, the index naming convention, and the prerequisite chain. It omits return shape, result limits beyond the schema's top_k, and failure modes, which keeps it short of a 5.

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?

Four short sentences with the core purpose front-loaded and the prerequisite and negative-scope notes following. Nothing is redundant or padded.

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 six-parameter search tool with full schema coverage and no output schema, the description covers mode, index, and prerequisites adequately. A brief note on what results look like would close the remaining 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 every parameter is already documented in the schema, including namespace discovery via list_namespaces and fields suggestions via suggest_query_params. The description restates those relationships rather than adding new semantics, so the baseline 3 applies.

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 names a specific verb and resource (keyword/lexical sparse-only search) and pins down the underlying index as {indexName}-sparse. It also states the negative scope ('Does not use semantic reranking'), which is enough to separate it from the semantic query siblings without opening their schemas.

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?

It gives clear when-to-use guidance ('Use for exact or keyword-style queries') and a concrete prerequisite ordering ('Call list_namespaces first'). It also removes a false prerequisite ('Does not require suggest_query_params'), but it never names which sibling to use for semantic queries, leaving that inference to the agent.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.