Skip to main content
Glama
davidlinjiahao

notion-enhanced

get_database_schema

Retrieve the schema and property definitions for a Notion database to understand its structure before querying or updating records.

Instructions

Get the schema of a Notion database with all property definitions.

Args: database_id: The ID of the Notion database

Returns: Dict with database title and properties schema

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
database_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses the return contents ('database title and properties schema') but says nothing about read-only semantics, permissions required, rate limits, or behavior on invalid/missing database IDs.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded single-sentence purpose followed by compact Args/Returns blocks. Efficient, though the Args/Returns sections are boilerplate Docstring scaffolding rather than earned content.

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?

An output schema exists, so the Returns paragraph is largely redundant and the description needn't explain return values. What is missing is the usage context and any behavioral caveats for a read tool that has no annotations to fall back on.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate, but 'database_id: The ID of the Notion database' merely restates the parameter name. It adds no ID format detail (e.g., UUID) or examples to help the agent supply a valid value.

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+resource ('Get the schema of a Notion database') and adds scope detail ('all property definitions'). It is distinguishable from row-oriented siblings like query_database and create_database_row, though it never names an alternative to route against.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisites, and no mention of alternatives. The agent must infer that this is a discovery step performed before reading or writing rows; nothing in the text says so.

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