Skip to main content
Glama

List Project Database migrations

list_project_database_migrations
Read-onlyIdempotent

List this Project Database's migration history, immutable statements, dry-run reports, approvals and outcomes. Credentials and private commit receipts are never returned. Migration responses include request_review: adding unrelated tables preserves existing approvals; changes to referenced schema objects can interrupt affected Requests. Some changes still invalidate every Request on the datasource: a removed or changed function, a sequence no table owns, a new function whose name already resolves or is named by existing function code, or a stored schema fingerprint the Engine cannot recognize. After apply or an uncertain response, list migration history for recorded affected Requests, current policy states, and review URLs. If request_review.state is unavailable, the recorded migration outcome remains valid but its affected_requests is null; refresh history before resuming applications. Review stale approvals through existing Request review/update flows; do not automatically reapprove or retry application writes.

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": {
      "datasource_id": "<datasource_id>"
    },
    "name": "list_project_database_migrations"
  }
}

Input Schema

NameRequiredDescriptionDefault
datasource_idYesProject Database datasource UUID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, non-destructive behavior, yet the description adds real value beyond them: credentials and private commit receipts are never returned, request_review accompanies responses, and affected_requests is null when request_review.state is unavailable. This is meaningful disclosure about output semantics and edge-case behavior for a list tool.

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

Conciseness3/5

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

The purpose is front-loaded, but the middle sentence is a dense catalogue of schema-invalidation conditions (functions, sequences, fingerprints) that reads more like migration-engine documentation than guidance for calling a list tool. Information is not wasted entirely, but the paragraph is heavier than the operation warrants.

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 one-parameter read tool with no output schema, the description covers what matters: what is returned, what is withheld (credentials, receipts), how request_review affects approvals, and how to interpret a missing state. It stops short of describing pagination or full return shape, but the essentials an agent needs to call and interpret it are present.

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?

There is one required parameter with 100% schema description coverage, so the schema already documents datasource_id as the Project Database datasource UUID. The description only implies scoping ('this Project Database's') and adds no syntax or format detail beyond the schema, matching the baseline 3 when the schema does the heavy lifting.

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?

The opening sentence states a specific verb and resource: list this Project Database's migration history, statements, dry-run reports, approvals and outcomes. It is clear what the tool returns, though it never explicitly contrasts itself with siblings like dry_run_project_database_migration or apply_project_database_migration, leaving the disambiguation to inference.

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

Usage Guidelines4/5

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

Gives an explicit trigger: 'After apply or an uncertain response, list migration history for recorded affected Requests, current policy states, and review URLs.' It also gives a negative instruction not to auto-reapprove or retry writes. Useful context, but it never says when this tool should be avoided or names an alternative tool for the read path.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources