Skip to main content
Glama
Pinecone Read-Only MCP

Pinecone Read-Only MCP

by cppalliance

generate_urls

Generates URLs for retrieved results when metadata lacks a URL, using the namespace-specific generator and returning unavailable if none exists.

Instructions

Generate URLs for retrieved results when metadata does not include url and URL is needed. Uses the URL generator registered for the given namespace (if any); returns unavailable for namespaces without a generator.

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": {
      "namespace": "<namespace>",
      "records": "<records>"
    },
    "name": "generate_urls"
  }
}

Input Schema

NameRequiredDescriptionDefault
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.
recordsYesArray of records from retrieval results. Each item may be either metadata itself or an object containing a metadata field.
namespaceYesTarget namespace. URL generation is supported only for namespaces that have a registered generator (call list_namespaces to discover namespaces).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description bears the full burden. It usefully discloses the per-namespace generator mechanism and the 'unavailable' outcome for unsupported namespaces, but says nothing about whether input records are mutated, whether the operation is pure/read-only, or how partial failures are reported.

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?

Two sentences, front-loaded with the trigger condition, with no filler. Slightly dense phrasing in the first sentence but nothing that should be cut.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no annotations and no output schema, the description should clarify the return shape (e.g., mapping of records to URLs, per-record failures). It only mentions the unsupported-namespace outcome, leaving the success payload and partial-failure behavior to inference.

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 coverage is 100%, so the schema already documents namespace (registered generator required), source, and the 500-record records array. The description's note about namespaces lacking a generator largely restates the namespace field's schema text rather than adding new meaning.

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?

States a specific action (generate URLs) and resource (retrieved records) plus the precise trigger condition: when metadata lacks a url and one is needed. It is distinguishable from retrieval siblings like query or keyword_search, though it does not name them explicitly.

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?

Gives a clear when-to-use condition (metadata missing url and URL required) and a when-it-fails condition (namespaces without a registered generator return unavailable). It does not name an alternative tool for the case where URLs cannot be generated, so routing is left partly implicit.

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