Skip to main content
Glama

pinecone_create_index_for_model

Create a Pinecone index with a hosted embedding model so records embed on write and queries embed on read, without an external provider.

Instructions

Create an index with a hosted embedding model attached.

Pinecone embeds text_field on write and embeds queries on read, so no embedding provider is needed on this side. Read it back with pinecone_search_records. The model cannot be changed later.

Args: model: Hosted model, e.g. "llama-text-embed-v2", "multilingual-e5-large", "pinecone-sparse-english-v0". text_field: Record field holding the raw text to embed. filterable_fields: e.g. {"genre": {"filterable": true}}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
tagsNo
cloudNo
modelNollama-text-embed-v2
metricNo
regionNo
timeoutNo
dimensionNo
text_fieldNochunk_text
read_capacityNo
read_parametersNo
write_parametersNo
filterable_fieldsNo
deletion_protectionNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations, so the description carries the burden and it does disclose one important trait: 'The model cannot be changed later.' It also explains where embedding happens (write and read). However, it omits other operational traits an agent needs for a 14-param mutation tool — creation latency/async behavior, permissions, cost, and what the 13 undocumented parameters do.

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?

Front-loaded one-line purpose followed by rationale and a compact Args block; no filler sentences. The Args items largely repeat the schema keys, but given the schema has no descriptions at all, restating them is not waste.

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

Completeness2/5

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

An output schema exists so return values need no explanation, but the description leaves the definition materially incomplete for a 14-parameter index-creation tool with 0% schema coverage and no annotations. Eleven parameters are undocumented, and there is no guidance on required vs optional choices such as cloud, region, or metric.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% across 14 parameters, yet the Args section documents only model, text_field, and filterable_fields. The example values for model are genuinely helpful, but name, cloud, region, metric, dimension, read_capacity, tags, timeout, deletion_protection and others get no semantic explanation anywhere, so most of the parameter surface stays opaque.

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?

Specific verb+resource with a differentiating qualifier: 'Create an index with a hosted embedding model attached.' This cleanly separates it from the sibling pinecone_create_index, and it names pinecone_search_records as the read path, so an agent can place it without opening a schema.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: 'Pinecone embeds text_field on write and embeds queries on read, so no embedding provider is needed on this side' tells the agent why to pick this variant, and 'Read it back with pinecone_search_records' routes the follow-up. But it never explicitly contrasts with pinecone_create_index or says when-not to use this tool.

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