Skip to main content
Glama

Search Documentation

search_docs
Read-onlyIdempotent

Search documentation with hybrid semantic (vector) and keyword (BM25) search. Use semanticWeight to choose keyword-only (0), semantic-only (1), or a blend; mid values fuse rankings with RRF. Supports Tiger Cloud (TimescaleDB), PostgreSQL, and PostGIS.

A hit is one chunk of a page, often part of a larger section: a table row without its header, one step of a procedure. Before answering from a hit, read it in context: get_context with the hit's chunk_id returns the whole section it is in, and from there its parent section, the page and the page's outline. For exact figures (limits, prices, plan features) prefer keyword-heavy searches (semanticWeight 0–0.3) that use the words the docs would use.

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": {
      "source": "<source>",
      "query": "<query>",
      "limit": "<limit>",
      "semanticWeight": "<semanticWeight>"
    },
    "name": "search_docs"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitYesThe maximum number of matches to return. Defaults to 20.
queryYesThe search query. Used for BM25 when keyword or hybrid search applies, and for the embedding when semantic or hybrid search applies.
sourceYesThe documentation source to search. "tiger" for Tiger Cloud and TimescaleDB, "postgres" for PostgreSQL, "postgis" for PostGIS spatial extension. Specific versions provided with _X.X suffixes.
semanticWeightYesControls the balance between semantic and keyword search. 0 = keyword only, 0.5 = equal mix, 1 = semantic only. Default is 0.7 (favor semantic search).

Output Schema

NameRequiredDescriptionDefault
resultsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / results / items / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "content": {
      -        "description": "The content of the documentation entry.",
      -        "type": "string"
      -      },
      -      "distance": {
      -        "description": "The distance score indicating the relevance of the entry to the query. Lower values indicate higher relevance.",
      -        "type": "number"
      -      },
      -      "id": {
      -        "description": "The unique identifier of the documentation entry.",
      -        "maximum": 9007199254740991,
      -        "minimum": -9007199254740991,
      -        "type": "integer"
      -      },
      -      "metadata": {
      -        "description": "Additional metadata about the documentation entry, as a JSON encoded string.",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "id",
      -      "content",
      -      "metadata",
      -      "distance"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "content": {
      -        "description": "The content of the documentation entry.",
      -        "type": "string"
      -      },
      -      "id": {
      -        "description": "The unique identifier of the documentation entry.",
      -        "maximum": 9007199254740991,
      -        "minimum": -9007199254740991,
      -        "type": "integer"
      -      },
      -      "metadata": {
      -        "description": "Additional metadata about the documentation entry, as a JSON encoded string.",
      -        "type": "string"
      -      },
      -      "score": {
      -        "description": "The score indicating the relevance of the entry to the keywords. Higher values indicate higher relevance.",
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "id",
      -      "content",
      -      "metadata",
      -      "score"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "content": {
      -        "description": "The content of the documentation entry.",
      -        "type": "string"
      -      },
      -      "id": {
      -        "description": "The unique identifier of the documentation entry.",
      -        "maximum": 9007199254740991,
      -        "minimum": -9007199254740991,
      -        "type": "integer"
      -      },
      -      "metadata": {
      -        "description": "Additional metadata about the documentation entry, as a JSON encoded string.",
      -        "type": "string"
      -      },
      -      "rrf_score": {
      -        "description": "Hybrid search: fused RRF score from combining semantic and keyword result rankings.",
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "id",
      -      "content",
      -      "metadata",
      -      "rrf_score"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "chunk_id": {
      +        "description": "Id of this chunk. Pass it to get_context to read the whole section the chunk is in.",
      +        "type": "string"
      +      },
      +      "content": {
      +        "description": "The content of the documentation entry.",
      +        "type": "string"
      +      },
      +      "distance": {
      +        "description": "The distance score indicating the relevance of the entry to the query. Lower values indicate higher relevance.",
      +        "type": "number"
      +      },
      +      "headings": {
      +        "description": "Heading path of the section, page title first.",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "id": {
      +        "description": "The unique identifier of the documentation entry.",
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      },
      +      "metadata": {
      +        "description": "Additional metadata about the documentation entry, as a JSON encoded string.",
      +        "type": "string"
      +      },
      +      "page_id": {
      +        "description": "Id of the page this chunk is on (get_context: the page and its outline).",
      +        "type": "string"
      +      },
      +      "section_id": {
      +        "description": "Id of the section this chunk is part of (get_context).",
      +        "type": "string"
      +      },
      +      "url": {
      +        "description": "Link to the section on the docs site.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "content",
      +      "metadata",
      +      "chunk_id",
      +      "section_id",
      +      "page_id",
      +      "headings",
      +      "url",
      +      "distance"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "chunk_id": {
      +        "description": "Id of this chunk. Pass it to get_context to read the whole section the chunk is in.",
      +        "type": "string"
      +      },
      +      "content": {
      +        "description": "The content of the documentation entry.",
      +        "type": "string"
      +      },
      +      "headings": {
      +        "description": "Heading path of the section, page title first.",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "id": {
      +        "description": "The unique identifier of the documentation entry.",
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      },
      +      "metadata": {
      +        "description": "Additional metadata about the documentation entry, as a JSON encoded string.",
      +        "type": "string"
      +      },
      +      "page_id": {
      +        "description": "Id of the page this chunk is on (get_context: the page and its outline).",
      +        "type": "string"
      +      },
      +      "score": {
      +        "description": "The score indicating the relevance of the entry to the keywords. Higher values indicate higher relevance.",
      +        "type": "number"
      +      },
      +      "section_id": {
      +        "description": "Id of the section this chunk is part of (get_context).",
      +        "type": "string"
      +      },
      +      "url": {
      +        "description": "Link to the section on the docs site.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "content",
      +      "metadata",
      +      "chunk_id",
      +      "section_id",
      +      "page_id",
      +      "headings",
      +      "url",
      +      "score"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "chunk_id": {
      +        "description": "Id of this chunk. Pass it to get_context to read the whole section the chunk is in.",
      +        "type": "string"
      +      },
      +      "content": {
      +        "description": "The content of the documentation entry.",
      +        "type": "string"
      +      },
      +      "headings": {
      +        "description": "Heading path of the section, page title first.",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "id": {
      +        "description": "The unique identifier of the documentation entry.",
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      },
      +      "metadata": {
      +        "description": "Additional metadata about the documentation entry, as a JSON encoded string.",
      +        "type": "string"
      +      },
      +      "page_id": {
      +        "description": "Id of the page this chunk is on (get_context: the page and its outline).",
      +        "type": "string"
      +      },
      +      "rrf_score": {
      +        "description": "Hybrid search: fused RRF score from combining semantic and keyword result rankings.",
      +        "type": "number"
      +      },
      +      "section_id": {
      +        "description": "Id of the section this chunk is part of (get_context).",
      +        "type": "string"
      +      },
      +      "url": {
      +        "description": "Link to the section on the docs site.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "content",
      +      "metadata",
      +      "chunk_id",
      +      "section_id",
      +      "page_id",
      +      "headings",
      +      "url",
      +      "rrf_score"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Changed2 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  3. Changed6 schema fields changed
    • changedInput schema / properties / limit / description
      Previous value: -"The maximum number of matches to return. If not provided, default is 10."New value: +"The maximum number of matches to return. Defaults to 20."
    • changedInput schema / properties / query / description
      Previous value: -"The search query. For semantic search, use natural language. For keyword search, provide keywords."New value: +"The search query. Used for BM25 when keyword or hybrid search applies, and for the embedding when semantic or hybrid search applies."
    • removedInput schema / properties / search_type
      Removed value: -{
      -  "description": "The type of search to perform. \"semantic\" uses natural language vector similarity, \"keyword\" uses BM25 keyword matching.",
      -  "enum": [
      -    "semantic",
      -    "keyword"
      -  ],
      -  "type": "string"
      -}
    • addedInput schema / properties / semanticWeight
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maximum": 1,
      +      "minimum": 0,
      +      "multipleOf": 0.1,
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Controls the balance between semantic and keyword search. 0 = keyword only, 0.5 = equal mix, 1 = semantic only. Default is 0.7 (favor semantic search)."
      +}
    • changedInput schema / required
      Previous value: -[
      -  "source",
      -  "search_type",
      -  "query",
      -  "limit"
      -]New value: +[
      +  "source",
      +  "query",
      +  "limit",
      +  "semanticWeight"
      +]
    • changedOutput schema / properties / results / items / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "content": {
      -        "description": "The content of the documentation entry.",
      -        "type": "string"
      -      },
      -      "distance": {
      -        "description": "The distance score indicating the relevance of the entry to the query. Lower values indicate higher relevance.",
      -        "type": "number"
      -      },
      -      "id": {
      -        "description": "The unique identifier of the documentation entry.",
      -        "maximum": 9007199254740991,
      -        "minimum": -9007199254740991,
      -        "type": "integer"
      -      },
      -      "metadata": {
      -        "description": "Additional metadata about the documentation entry, as a JSON encoded string.",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "id",
      -      "content",
      -      "metadata",
      -      "distance"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "content": {
      -        "description": "The content of the documentation entry.",
      -        "type": "string"
      -      },
      -      "id": {
      -        "description": "The unique identifier of the documentation entry.",
      -        "maximum": 9007199254740991,
      -        "minimum": -9007199254740991,
      -        "type": "integer"
      -      },
      -      "metadata": {
      -        "description": "Additional metadata about the documentation entry, as a JSON encoded string.",
      -        "type": "string"
      -      },
      -      "score": {
      -        "description": "The score indicating the relevance of the entry to the keywords. Higher values indicate higher relevance.",
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "id",
      -      "content",
      -      "metadata",
      -      "score"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "content": {
      +        "description": "The content of the documentation entry.",
      +        "type": "string"
      +      },
      +      "distance": {
      +        "description": "The distance score indicating the relevance of the entry to the query. Lower values indicate higher relevance.",
      +        "type": "number"
      +      },
      +      "id": {
      +        "description": "The unique identifier of the documentation entry.",
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      },
      +      "metadata": {
      +        "description": "Additional metadata about the documentation entry, as a JSON encoded string.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "content",
      +      "metadata",
      +      "distance"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "content": {
      +        "description": "The content of the documentation entry.",
      +        "type": "string"
      +      },
      +      "id": {
      +        "description": "The unique identifier of the documentation entry.",
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      },
      +      "metadata": {
      +        "description": "Additional metadata about the documentation entry, as a JSON encoded string.",
      +        "type": "string"
      +      },
      +      "score": {
      +        "description": "The score indicating the relevance of the entry to the keywords. Higher values indicate higher relevance.",
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "content",
      +      "metadata",
      +      "score"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "content": {
      +        "description": "The content of the documentation entry.",
      +        "type": "string"
      +      },
      +      "id": {
      +        "description": "The unique identifier of the documentation entry.",
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      },
      +      "metadata": {
      +        "description": "Additional metadata about the documentation entry, as a JSON encoded string.",
      +        "type": "string"
      +      },
      +      "rrf_score": {
      +        "description": "Hybrid search: fused RRF score from combining semantic and keyword result rankings.",
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "content",
      +      "metadata",
      +      "rrf_score"
      +    ],
      +    "type": "object"
      +  }
      +]
  4. Changed9 schema fields changed
    • addedInput schema / properties / limit / anyOf
      Added value: +[
      +  {
      +    "maximum": 9007199254740991,
      +    "minimum": -9007199254740991,
      +    "type": "integer"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / limit / description
      Previous value: -"The maximum number of matches to return. Default is 10."New value: +"The maximum number of matches to return. If not provided, default is 10."
    • removedInput schema / properties / limit / maximum
      Removed value: -9007199254740991
    • removedInput schema / properties / limit / minimum
      Removed value: --9007199254740991
    • removedInput schema / properties / limit / type
      Removed value: -"integer"
    • changedInput schema / properties / source / description
      Previous value: -"The documentation source to search. \"tiger\" for Tiger Cloud and TimescaleDB, \"postgres\" for PostgreSQL, \"postgis\" for PostGIS spatial extension."New value: +"The documentation source to search. \"tiger\" for Tiger Cloud and TimescaleDB, \"postgres\" for PostgreSQL, \"postgis\" for PostGIS spatial extension. Specific versions provided with _X.X suffixes."
    • changedInput schema / properties / source / enum
      Previous value: -[
      -  "tiger",
      -  "postgres",
      -  "postgis"
      -]New value: +[
      +  "tiger",
      +  "postgres_14",
      +  "postgres_15",
      +  "postgres_16",
      +  "postgres_17",
      +  "postgres_18",
      +  "postgis_3.3",
      +  "postgis_3.4",
      +  "postgis_3.5",
      +  "postgis_3.6"
      +]
    • removedInput schema / properties / version
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "enum": [
      -        "14",
      -        "15",
      -        "16",
      -        "17",
      -        "18",
      -        "latest"
      -      ],
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "description": "The PostgreSQL major version (ignored when searching \"tiger\"). Recommended to assume the latest version if unknown. Only applicable when source is Postgres. Defaults to latest version."
      -}
    • changedInput schema / required
      Previous value: -[
      -  "source",
      -  "search_type",
      -  "query",
      -  "version",
      -  "limit"
      -]New value: +[
      +  "source",
      +  "search_type",
      +  "query",
      +  "limit"
      +]
  5. Changed4 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / limit / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / limit / minimum
      Added value: +-9007199254740991
    • changedOutput schema / properties / results / items / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "content": {
      -        "description": "The content of the documentation entry.",
      -        "type": "string"
      -      },
      -      "distance": {
      -        "description": "The distance score indicating the relevance of the entry to the query. Lower values indicate higher relevance.",
      -        "type": "number"
      -      },
      -      "id": {
      -        "description": "The unique identifier of the documentation entry.",
      -        "type": "integer"
      -      },
      -      "metadata": {
      -        "description": "Additional metadata about the documentation entry, as a JSON encoded string.",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "id",
      -      "content",
      -      "metadata",
      -      "distance"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "content": {
      -        "$ref": "#/properties/results/items/anyOf/0/properties/content"
      -      },
      -      "id": {
      -        "$ref": "#/properties/results/items/anyOf/0/properties/id"
      -      },
      -      "metadata": {
      -        "$ref": "#/properties/results/items/anyOf/0/properties/metadata"
      -      },
      -      "score": {
      -        "description": "The score indicating the relevance of the entry to the keywords. Higher values indicate higher relevance.",
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "id",
      -      "content",
      -      "metadata",
      -      "score"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "content": {
      +        "description": "The content of the documentation entry.",
      +        "type": "string"
      +      },
      +      "distance": {
      +        "description": "The distance score indicating the relevance of the entry to the query. Lower values indicate higher relevance.",
      +        "type": "number"
      +      },
      +      "id": {
      +        "description": "The unique identifier of the documentation entry.",
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      },
      +      "metadata": {
      +        "description": "Additional metadata about the documentation entry, as a JSON encoded string.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "content",
      +      "metadata",
      +      "distance"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "content": {
      +        "description": "The content of the documentation entry.",
      +        "type": "string"
      +      },
      +      "id": {
      +        "description": "The unique identifier of the documentation entry.",
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      },
      +      "metadata": {
      +        "description": "Additional metadata about the documentation entry, as a JSON encoded string.",
      +        "type": "string"
      +      },
      +      "score": {
      +        "description": "The score indicating the relevance of the entry to the keywords. Higher values indicate higher relevance.",
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "content",
      +      "metadata",
      +      "score"
      +    ],
      +    "type": "object"
      +  }
      +]
  6. Changed4 schema fields changed
    • addedInput schema / properties / version / anyOf
      Added value: +[
      +  {
      +    "enum": [
      +      "14",
      +      "15",
      +      "16",
      +      "17",
      +      "18",
      +      "latest"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / version / description
      Previous value: -"The PostgreSQL major version (ignored when searching \"tiger\"). Recommended to assume the latest version if unknown."New value: +"The PostgreSQL major version (ignored when searching \"tiger\"). Recommended to assume the latest version if unknown. Only applicable when source is Postgres. Defaults to latest version."
    • removedInput schema / properties / version / enum
      Removed value: -[
      -  "14",
      -  "15",
      -  "16",
      -  "17",
      -  "18",
      -  "latest"
      -]
    • removedInput schema / properties / version / type
      Removed value: -"string"
  7. Changed2 schema fields changed
    • changedInput schema / properties / source / description
      Previous value: -"The documentation source to search. \"tiger\" for Tiger Cloud and TimescaleDB, \"postgres\" for PostgreSQL."New value: +"The documentation source to search. \"tiger\" for Tiger Cloud and TimescaleDB, \"postgres\" for PostgreSQL, \"postgis\" for PostGIS spatial extension."
    • changedInput schema / properties / source / enum
      Previous value: -[
      -  "tiger",
      -  "postgres"
      -]New value: +[
      +  "tiger",
      +  "postgres",
      +  "postgis"
      +]
  8. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint), but the description adds a genuinely important behavioral trait: a hit is a page chunk, not a page, so raw results can be misleading (a table row without its header). It also discloses that mid weights fuse rankings with RRF. These go beyond the annotations in a useful way.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded and well organized in two paragraphs, but the second paragraph is long and mixes result-granularity caveats with weight-tuning advice. Every sentence is relevant, yet the material could be tighter without losing meaning.

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?

Output schema exists, so return shape needn't be explained, and the description covers the one thing the schema can't: result granularity and the need to expand hits. Coverage of the search/fetch workflow is complete enough to call the tool and interpret results responsibly.

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% and the semanticWeight schema already documents 0/0.5/1 and the 0.7 default. The description adds the RRF fusion detail and the practical 0–0.3 range for exact figures, but leaves limit and source entirely to the schema, so the added meaning is useful but partial over the baseline.

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 ("Search documentation") plus the retrieval method (hybrid semantic/BM25) and the corpus scope (Tiger Cloud, PostgreSQL, PostGIS). An agent can tell this apart from get_context, which the description frames as a follow-up for expanding a hit rather than a search.

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?

Explicitly routes the agent: use semanticWeight 0–0.3 for exact figures like limits and prices, blend for general queries, and call get_context with a hit's chunk_id before answering. It names the alternative tool and the condition that selects it, with no exclusions left to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.