Skip to main content
Glama
grafeo-mcp

grafeo-mcp

Official
by GrafeoDB

create_text_index

Idempotent

Builds a BM25 full-text index on a string property so search_text can query existing and future nodes.

Instructions

Create a full-text (BM25) index on a string property, for search_text. Existing and later nodes are indexed.

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": {
      "label": "<label>",
      "property": "<property>"
    },
    "name": "create_text_index"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelYes
propertyYesA string property, e.g. "title".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv0.3.0
    • removedInput schema / properties / label / title
      Removed value: -"Label"
    • addedInput schema / properties / property / description
      Added value: +"A string property, e.g. \"title\"."
    • removedInput schema / properties / property / title
      Removed value: -"Property"
    • removedInput schema / title
      Removed value: -"create_text_indexArguments"
    • changedOutput schema / (root)
      Previous value: -{
      -  "properties": {
      -    "result": {
      -      "title": "Result",
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "result"
      -  ],
      -  "title": "create_text_indexOutput",
      -  "type": "object"
      -}New value: +null
  2. First observedv0.2.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare the write-but-non-destructive, idempotent profile, so the bar is lower; the description adds the important backfill behavior that both existing and later nodes get indexed, which the annotations do not convey. It omits index uniqueness/conflict behavior and any cost on large graphs.

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?

Two short sentences, front-loaded with the action and resource, with zero filler; the index-type and scope information both earn their place.

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 two-parameter tool with no output schema, this covers purpose, index semantics, and the downstream tool; the only real gaps are index naming/uniqueness and failure behavior, which are minor for an idempotent create.

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 50% (property is documented with a string example, label is not). The description reinforces the property type constraint with 'string property', but adds nothing about what label means or what values are valid, so it only partly compensates for the gap.

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 (create a full-text BM25 index on a string property) and identifies the consumer tool, search_text, which separates it from create_vector_index and the other create_* siblings.

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 context for when this tool applies by tying it to search_text, but it names no exclusions or alternatives — an agent is not told when to prefer create_vector_index or hybrid approaches instead.

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