Skip to main content
Glama

Search Mapbox Docs Tool

search_mapbox_docs_tool
Read-onlyIdempotent

Search Mapbox documentation by keyword or natural language query. Searches across API reference, GL JS, Help Center, Style Spec, Studio, Search JS, iOS/Android Maps and Navigation SDKs, and Tilesets. Returns ranked results with titles, URLs, and descriptions. Use get_document_tool to fetch the full content of a result page.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of results to return (1–20, default 5).
queryYesSearch query for Mapbox documentation (e.g. "add a marker", "camera animation", "geocoding API").

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds valuable behavioral context by stating the broad scope of documentation sources and that results are ranked with titles, URLs, and descriptions. No contradiction with annotations.

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?

The description is four concise sentences, front-loaded with the core action. Every sentence contributes distinct information: what it searches, where it searches, what it returns, and how to proceed. No redundancy or filler.

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

Completeness5/5

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

For a read-only search tool with only two fully documented parameters and no output schema, the description is complete: it states the search scope, the return format (ranked results with titles, URLs, descriptions), and the logical next step (get_document_tool). Nothing essential is missing.

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%, with both 'query' and 'limit' fully described in the schema. The description adds context about natural-language/kewyord searching and the breadth of sources, but it does not provide additional syntax or parameter details beyond what the schema already offers, aligning with the baseline for high coverage.

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 uses a specific verb and resource: 'Search Mapbox documentation', then enumerates the exact sources (API reference, GL JS, Help Center, etc.). It clearly distinguishes from sibling get_document_tool by positioning this as the search/retrieval step and explicitly says to use get_document_tool to fetch full content.

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?

The description clearly indicates when to use this tool (when searching docs by keyword or natural language) and explicitly points to get_document_tool as the alternative for fetching full content. It does not mention the sibling batch_get_documents_tool, but the guidance given is sufficient for the primary workflow.

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.

TDQS

A4.5/5.0
Disambiguation5/5

Each tool has a clear, non-overlapping purpose: search finds documents, get fetches a single document, and batch fetches multiple documents at once. There is no ambiguity about which tool to use for a given task.

Naming Consistency5/5

All tools follow a consistent verb_noun_tool pattern: search_mapbox_docs_tool, get_document_tool, batch_get_documents_tool. The naming clearly reflects the action and resource, and the _tool suffix is uniform.

Tool Count5/5

Three tools is an ideal scope for a documentation server: one for searching, one for retrieving individual pages, and one for batched retrieval. Each tool serves a distinct need without redundancy or bloat.

Completeness5/5

The tool set covers the complete documentation workflow: discover via search, retrieve a single page, and retrieve multiple pages efficiently. There are no obvious missing operations for the stated purpose of accessing Mapbox documentation.