Skip to main content
Glama

MCP-Server de Mapas Mentais

compara

Compare two topics visually by generating a side-by-side mind map to analyze relationships, differences, and connections effectively.

Instructions

Gera um mapa mental comparando dois temas.

Input Schema

NameRequiredDescriptionDefault
tema1Yes
tema2Yes

Input Schema (JSON Schema)

{ "properties": { "tema1": { "title": "Tema1", "type": "string" }, "tema2": { "title": "Tema2", "type": "string" } }, "required": [ "tema1", "tema2" ], "title": "comparaArguments", "type": "object" }

Implementation Reference

  • server.py:9-18 (handler)
    The handler function for the 'compara' tool. It takes two string parameters (tema1, tema2) and returns a formatted string representing a mind map comparison between the two themes, listing key topics like definitions, characteristics, pros/cons, applications, and differences/similarities.
    def compara(tema1: str, tema2: str) -> str: """Gera um mapa mental comparando dois temas.""" return ( f"Comparação entre {tema1} e {tema2}, focando somente nos tópicos abaixo:\n" f"- Definições de {tema1} e {tema2}\n" f"- Características principais\n" f"- Vantagens e desvantagens\n" f"- Aplicações práticas\n" f"- Diferenças e semelhanças" )
  • server.py:8-8 (registration)
    Registers the 'compara' function as an MCP tool with the name 'compara' using the FastMCP decorator.
    @mcp.tool(name="compara")
  • server.py:9-9 (schema)
    Input schema defined by function parameters: tema1 (str), tema2 (str); output: str. The docstring provides additional description.
    def compara(tema1: str, tema2: str) -> str:

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/marioluciofjr/mapas_mentais_mcp'

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