Skip to main content
Glama

inspect_schema

Read-onlyIdempotent

Lists database tables, foreign keys, and columns flagged as likely PII without returning row values, so you can plan safer staging data extraction.

Instructions

List tables, foreign keys and columns flagged as likely PII. Never returns row values.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "inspect_schema"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds genuinely new information beyond that: a hard privacy guarantee ("Never returns row values") and that PII detection is heuristic ("flagged as likely"), which signals possible false positives/negatives.

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 short sentences with the return contents front-loaded and the privacy constraint immediately after. Every sentence carries information; nothing is padded or restated from the 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?

For a zero-parameter read tool with no output schema, this is close to sufficient: the agent knows what is listed and what is never returned. It stops short of describing result shape, granularity, or whether "likely PII" flags include a confidence indicator, which would matter for a discovery tool feeding downstream subsetting.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate and the baseline applies. The text correctly implies a whole-schema, unfiltered scope with no scoping arguments.

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?

States a specific verb ("List") and concrete resource set (tables, foreign keys, columns flagged as likely PII), so the agent knows exactly what comes back. It does not name or contrast with any sibling such as extract or plan_subset, so differentiation relies on the verb+resource alone.

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?

No explicit when-to-use or when-not-to-use statement appears; the agent must infer that this is the discovery step before plan_subset or extract. The PII framing hints at a compliance/audit context but no alternatives or prerequisites are named.

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

Deploy Server

Other Tools