Skip to main content
Glama

refresh_connection_schema

Refresh schema cache by connecting to the live database and extracting tables/columns, with optional LLM enrichment for semantic metadata.

Instructions

Atualiza o schema cache conectando ao banco real e extraindo tabelas/colunas. Opcionalmente enriquece com semântica via LLM (auto_enrich=true). Pode demorar alguns segundos dependendo do tamanho do banco.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
auto_enrichNoEnriquecer automaticamente com semântica via LLM após extração
connection_idYesUUID da conexão
Install Server

TDQS

A4/5.0
Behavior4/5

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

A descrição adiciona contexto comportamental além das annotations: conecta ao banco real, atualiza cache, opcionalmente enriquece via LLM e pode demorar segundos. Não contradiz readOnlyHint=false ou destructiveHint=false, e cobre informação relevante de latência e efeito.

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?

Duas frases objetivas, sem enrolação, com a ação principal na primeira frase e detalhes relevantes (LLM, latência) na segunda. Nenhuma palavra é desperdiçada.

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?

Para uma ferramenta simples com apenas 2 parâmetros, a descrição cobre comportamento, efeito, opção e latência. Não há output schema, mas não é essencial aqui. Poderia mencionar comportamento em caso de falha de conexão, mas o conjunto é suficiente.

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?

O schema já descreve 100% dos parâmetros, incluindo auto_enrich e connection_id, então a descrição da ferramenta não precisa repeti-los. Ela menciona auto_enrich=true, o que reforça, mas não adiciona semântica nova além do schema.

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?

A descrição usa verbo e recurso específicos ('Atualiza o schema cache') e explica o mecanismo (conectar ao banco real, extrair tabelas/colunas). Isso a distingue claramente de ferramentas irmãs como get_connection_schema, get_connection_semantic e test_connection.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

O uso é implícito: a descrição indica que serve para atualizar o cache do schema, mas não diz explicitamente quando preferi-la a alternativas como get_connection_schema ou test_connection, nem quando evitar usá-la.

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

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/zihin-ai/zihin-mcp'

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