Skip to main content
Glama
mcp-hr-sql-readonly

mcp-hr-sql-readonly

by Marcovo93

Colonne di una tabella

descrivi_tabella
Read-only

Inspect a table's column names, types, lengths, and nullability, then optionally return sample rows for a specified 6-digit company ID.

Instructions

Restituisce le colonne di una tabella (nome, tipo, lunghezza, null ammesso). Con "azienda" (6 cifre, es. 000123) aggiunge alcune righe di esempio di quell'azienda.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "tabella": "<tabella>"
    },
    "name": "descrivi_tabella"
  }
}

Input Schema

NameRequiredDescriptionDefault
esempiNoRighe di esempio (default 3, solo con azienda)
aziendaNoIDCOMPANY a 6 cifre per le righe di esempio
tabellaYesNome esatto della tabella (vedi "cerca_tabelle")
ambienteNoNome dell'ambiente (vuoto = default)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered; the description adds real value by disclosing the shape of the result (column name, type, length, nullability) and the fact that supplying azienda augments the response with sample rows. It stops short of saying what happens with an invalid or unknown table/company ID.

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?

Two tight sentences with the core return shape front-loaded and the conditional azienda behavior second; no filler and no restating of the tool name.

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?

With no output schema, the description usefully covers the return fields and the azienda-driven augmentation. Small gaps remain: the 'ambiente' parameter and the esempi count/default are never mentioned in the description, though the schema covers them.

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 coverage is 100%, so every parameter is already documented in the schema, including that 'azienda' is a 6-digit IDCOMPANY and 'esempi' is only honored with azienda. The description mostly restates this, adding only a concrete format example (000123) and the intent behind the sample-rows behavior.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Uses a specific verb ('Restituisce') plus the resource ('le colonne di una tabella') and even enumerates the returned attributes (nome, tipo, lunghezza, null ammesso), so the operation is unambiguous. It does not name or differentiate itself from siblings such as cerca_tabelle or query, leaving that differentiation to the schema.

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?

The only guidance is conditional behavior: adding 'azienda' also returns sample rows for that company. There is no explicit statement of when to choose this tool over cerca_tabelle (table discovery) or query (data retrieval), so usage is only implied.

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