Skip to main content
Glama

search_flutter_docs

Search Flutter and Dart documentation, API references, and pub.dev packages to find relevant information for development tasks.

Instructions

Search across Flutter/Dart documentation sources with fuzzy matching.

DEPRECATED: This tool is deprecated. Please use flutter_search() instead. The new tool provides better filtering and more structured results.

Searches Flutter API docs, Dart API docs, and pub.dev packages. Returns top 5-10 most relevant results with brief descriptions.

Args: query: Search query (e.g., "state management", "Container", "navigation", "http requests") tokens: Maximum token limit for response (default: 5000, min: 500)

Returns: Search results with relevance scores and brief descriptions

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes
tokensNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively describes key behaviors: the scope of sources searched ('Flutter API docs, Dart API docs, and pub.dev packages'), result limits ('top 5-10 most relevant results'), and output format ('brief descriptions'). However, it lacks details on rate limits, error handling, or authentication needs, which would be beneficial for a search tool.

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 well-structured and front-loaded: it starts with the core purpose, immediately highlights deprecation, then details sources, results, and parameters. Every sentence adds value—no redundancy or fluff—making it efficient for an agent to parse and use.

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?

Given the tool's moderate complexity (2 parameters, no annotations, but with an output schema), the description is complete enough. It covers purpose, deprecation, sources, result limits, and parameter semantics. The output schema handles return values, so the description doesn't need to detail them, and it addresses key gaps from the lack of annotations.

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

Parameters4/5

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

Schema description coverage is 0%, so the description must compensate. It adds meaningful context for both parameters: 'query' is explained with examples (e.g., 'state management'), and 'tokens' specifies default and minimum values ('default: 5000, min: 500'). This goes beyond the schema's basic types, though it could clarify token usage more (e.g., per result or total).

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 clearly states the tool's purpose: 'Search across Flutter/Dart documentation sources with fuzzy matching.' It specifies the verb ('Search'), resource ('Flutter/Dart documentation sources'), and method ('fuzzy matching'), distinguishing it from siblings like 'get_flutter_docs' (likely retrieval) or 'flutter_search' (its replacement).

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?

The description provides explicit usage guidance: it marks the tool as 'DEPRECATED' and directs users to 'use flutter_search() instead,' with reasons ('better filtering and more structured results'). This clearly indicates when not to use this tool and names the alternative, helping the agent avoid deprecated functionality.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/adamsmaka/flutter-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server