Skip to main content
Glama
antvis

MCP Server AntV

Official
by antvis

extract_antv_topic

Process AntV-related queries by identifying, parsing, and structuring user requirements for visualization tasks. Extracts topics, detects intent, and prepares structured data for precise solutions.

Instructions

AntV Intelligent Assistant Preprocessing Tool - Specifically designed to handle any user queries related to AntV visualization libraries. This tool is the first step in processing AntV technology stack issues, responsible for intelligently identifying, parsing, and structuring user visualization requirements.

MANDATORY: Must be called for ANY new AntV-related queries, including simple questions. Always precedes query_antv_document tool.

When to use this tool:

  • AntV-related queries: Questions about g2/g6/l7/x6/f2/s2/g/ava/adc libraries.

  • Visualization tasks: Creating charts, graphs, maps, or other visualizations.

  • Problem solving: Debugging errors, performance issues, or compatibility problems.

  • Learning & implementation: Understanding concepts or requesting code examples.

Key features:

  • Smart Library Detection: Scans installed AntV libraries and recommends the best fit based on query and project dependencies.

  • Topic & Intent Extraction: Intelligently extracts technical topics and determines user intent (learn/implement/solve).

  • Task Complexity Handling: Detects complex tasks and decomposes them into manageable subtasks.

  • Seamless Integration: Prepares structured data for the query_antv_document tool to provide precise solutions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
libraryNoAntV library name (optional) - If not specified, tool will automatically detect project dependencies and intelligently recommend
maxTopicsNoMaximum number of extracted topic keywords, default 5, can be increased appropriately for complex tasks
queryYesUser specific question or requirement description
Behavior4/5

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

With no annotations provided, the description carries full burden and does well by describing key behavioral features: 'Smart Library Detection' (scans dependencies), 'Topic & Intent Extraction,' 'Task Complexity Handling' (decomposes tasks), and 'Seamless Integration' (prepares data for next tool). However, it doesn't mention potential limitations, error handling, or performance characteristics.

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?

The description is well-structured with clear sections (mandatory rule, usage scenarios, key features) and front-loaded with the most important information. However, some sentences could be more concise, and the 'Key features' section contains marketing language ('intelligently,' 'seamless') that doesn't add operational clarity.

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 preprocessing tool with 3 parameters, 100% schema coverage, and no output schema, the description provides good context about its role in the workflow and behavioral characteristics. However, without annotations or output schema, it could benefit from more detail about what the tool actually produces (structured data format) and any limitations or error conditions.

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%, so the baseline is 3. The description adds some context about 'library' parameter ('automatically detect project dependencies and intelligently recommend') and implies 'maxTopics' relates to 'complex tasks,' but doesn't provide additional semantic meaning beyond what's already well-documented in the schema descriptions.

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 as 'intelligently identifying, parsing, and structuring user visualization requirements' for AntV libraries, specifying it's a 'preprocessing tool' and 'first step in processing AntV technology stack issues.' It explicitly distinguishes from its sibling 'query_antv_document' by stating it 'always precedes' that tool.

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 rules with 'MANDATORY: Must be called for ANY new AntV-related queries' and a detailed 'When to use this tool' section listing four specific scenarios. It clearly states the tool must precede 'query_antv_document' and provides examples of what constitutes AntV-related queries.

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

Related 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/antvis/mcp-server-antv'

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