Skip to main content
Glama
Pinecone Read-Only MCP

Pinecone Read-Only MCP

by cppalliance

namespace_router

Suggests likely Pinecone namespaces for a user query using namespace names, metadata fields, and keyword heuristics, so you can pick the right namespace before building query parameters.

Instructions

Suggest likely namespace(s) for a user query using namespace names, metadata fields, and keyword heuristics. Use before suggest_query_params when namespace is unclear. In multi-source mode, ranks across all sources unless source is set.

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": {
      "user_query": "<user_query>"
    },
    "name": "namespace_router"
  }
}

Input Schema

NameRequiredDescriptionDefault
top_nNoMaximum number of suggested namespaces (1-5).
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.
user_queryYesUser question/intent used to infer relevant namespace(s).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A4.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose the heuristic ranking model and that multi-source mode ranks across all sources unless source is set, but it says nothing about what the suggestions look like (names only? scores? ranked list?), confidence, or what happens when no namespace matches.

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?

Three short sentences, front-loaded with the purpose, then the sequencing rule, then the source caveat. No filler and nothing that restates the tool name.

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 three-parameter discovery tool with no output schema, the description covers purpose, sequencing, and source scoping well. The one remaining gap is the shape of the result — since there is no output schema, the description could have said what a suggestion entry contains.

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 the baseline is 3. The description only reinforces the source parameter's behavior (ranks across all sources unless source is set) and adds nothing about top_n or how user_query phrasing influences the heuristics beyond what the schema already states.

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?

States a specific verb and resource ("Suggest likely namespace(s) for a user query") and discloses the inference mechanism (namespace names, metadata fields, keyword heuristics). It also positions itself relative to suggest_query_params, so an agent can tell the two apart without opening either schema.

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?

"Use before suggest_query_params when namespace is unclear" gives an explicit trigger condition plus the sequencing relative to the named alternative. The follow-up sentence adds the source-scoping rule, so both the when and the configuration are covered.

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