Skip to main content
Glama
Strapi 5 MCP Server (God Mode)

Strapi 5 MCP Server (God Mode)

by thinhnd028

strapi_get_schema

Retrieve the schema for a named Strapi API to inspect its content types, fields, and structure before building queries or updates.

Instructions

Get schema for API.

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": {
      "apiName": "<apiName>"
    },
    "name": "strapi_get_schema"
  }
}

Input Schema

NameRequiredDescriptionDefault
apiNameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

D1.8/5.0
Behavior1/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure and delivers none: nothing about whether the lookup is read-only in practice, what happens if apiName is unknown, whether the schema is static or reflects live content types, or what the response looks like.

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 sentence is short and front-loaded with no filler, so it is not bloated. However, its brevity reflects under-specification rather than economy, leaving the definition effectively empty of useful content.

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

Completeness1/5

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

With no output schema and no annotations, the description must explain what a "schema" return contains, but it says nothing. For a tool whose entire value is knowing what metadata comes back, the definition is inadequate.

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% for the single required parameter apiName, and the description only adds "for API," which vaguely hints at the parameter's target. It does not say whether apiName is an API UID (e.g. "api::page.page"), a route prefix, or a display name, nor how to obtain valid values.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Get schema for API" restates the tool name (strapi_get_schema) almost verbatim, adding only the vague qualifier "for API." It does not say what kind of schema is returned (content-type schema, plugin structure, route/serializer definitions) or how it differs from siblings like strapi_get_plugin_structure or strapi_list_apis.

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 prerequisite or authentication context, and no mention of any alternative tool. An agent cannot infer from this sentence whether to call it before a query or entry fetch.

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