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

mcp-hr-sql-readonly

by Marcovo93

Cerca tabelle per nome

cerca_tabelle
Read-only

Searches table and column names for all supplied keywords to help locate relevant HR tables before writing SQL queries.

Instructions

Trova le tabelle il cui nome contiene tutte le parole date (es. "employee", "company"), e le tabelle che hanno una COLONNA con quelle parole nel nome (es. "orari" trova le colonne TORARI_*). I nomi sono in inglese o abbreviati: prova parole corte. Usalo PRIMA di scrivere una query, poi passa a descrivi_tabella: non ripetere la stessa ricerca.

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": {
      "parole": "<parole>"
    },
    "name": "cerca_tabelle"
  }
}

Input Schema

NameRequiredDescriptionDefault
maxNoTabelle restituite al massimo (default 25)
paroleYesDa 1 a 5 parole separate da spazi: lettere, cifre e _
ambienteNoNome dell'ambiente (vuoto = default)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds real behavioural context on matching semantics (all words must be present, column-name matching, English/abbreviated naming) and workflow ordering, but says nothing about result ordering, truncation behaviour, or what a hit looks like. Useful addition over the annotations, but not rich.

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?

Three short sentences, front-loaded with the core semantics before hints and workflow. No filler; every clause (examples, short-word hint, don't-repeat rule) carries actionable information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, and the description never says what a result entry contains (table name only, or matched column names too), which matters given the dual match modes. For a 3-parameter read-only search tool the rest is adequately covered by the schema and annotations, but the return-shape gap is a real omission.

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 coverage is 100%, so the baseline is 3. The description goes beyond the schema by explaining the practical intent of "parole" (names are English or abbreviated, so try short words) and implies multi-word AND matching, which the schema's "1 a 5 parole" does not state.

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?

States a specific verb (Trova) and resource (tabelle) and, crucially, spells out the two match modes: table names containing ALL the given words, or tables having a COLUMN whose name contains those words, with a concrete example ("orari" -> TORARI_*). This lets an agent distinguish it from query and descrivi_tabella without opening any schema.

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?

Explicit sequencing guidance: "Usalo PRIMA di scrivere una query, poi passa a descrivi_tabella: non ripetere la stessa ricerca." It states when to call it, which tool to hand off to next, and an explicit don't (do not repeat the same search). That is as close to when/when-not/alternatives as a short description gets.

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