Skip to main content
Glama
Orphnet

@orphnet/d1-eloquent-mcp

by Orphnet

inspect_schema

Query the local D1 database to list every table and its applied column definitions. Read-only inspection for understanding the current schema structure.

Instructions

Query the local D1 sqlite_master to list every table + the column definitions actually applied. Read-only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dbNoD1 binding name (default: auto-detect)
tableNoOptional table to scope to

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0-beta.2

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the transparency burden. It discloses a key safety trait ('Read-only') and adds nuance with 'actually applied'—implying it reflects real database state rather than just migration files. This goes beyond a simple read hint, though it doesn't detail potential errors or permissions.

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 sentences with zero filler. Front-loads the action and purpose, then adds a crucial safety qualifier. Every word earns its place.

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 simple read-only inspection tool, the description covers the essential aspects: action, target, output, and safety. There is no output schema, but the return value is implied. It could mention column detail specifics, but is sufficiently complete for its simplicity.

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% with clear descriptions for both `db` and `table`. The description reinforces the optional scope but adds no new semantic meaning beyond what the schema already provides. Baseline of 3 is appropriate.

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?

The description clearly states a specific action ('Query the local D1 `sqlite_master`'), a concrete resource (sqlite_master), and the exact output ('list every table + the column definitions actually applied'). This distinguishes it from sibling tools like `query_d1` or `list_models`, making the purpose unmistakable.

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 description implies usage: when you need to inspect actual table definitions. However, it does not explicitly state when to prefer this over alternatives or provide exclusions. Sibling tools like `query_d1` could theoretically do similar, but no comparison is offered.

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

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/Orphnet/d1-eloquent-mcp'

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