Skip to main content
Glama

Create MCP server

create_mcp_server

Register a new MCP server in the org (non-secret headers only) so its tools can be attached to agents.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoServer URL (for remote transports).
nameYesDisplay name for the MCP server.
transportNoConnection transport.
auth_methodNoHow the server authenticates.
descriptionNoWhat the server provides.
custom_headersNoNon-secret headers to send (reference secrets, never raw credentials).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / auth_method
      Added value: +{
      +  "description": "How the server authenticates.",
      +  "enum": [
      +    "none",
      +    "api_key",
      +    "access_token",
      +    "oauth2",
      +    "bearer",
      +    "server_url"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / custom_headers
      Added value: +{
      +  "description": "Non-secret headers to send (reference secrets, never raw credentials).",
      +  "type": "object"
      +}
    • addedInput schema / properties / description
      Added value: +{
      +  "description": "What the server provides.",
      +  "type": "string"
      +}
    • addedInput schema / properties / name / description
      Added value: +"Display name for the MCP server."
    • addedInput schema / properties / transport
      Added value: +{
      +  "description": "Connection transport.",
      +  "enum": [
      +    "stdio",
      +    "sse",
      +    "websocket",
      +    "streamable_http"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / url
      Added value: +{
      +  "description": "Server URL (for remote transports).",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already indicate this is a write operation (readOnlyHint=false, destructiveHint=false). The description adds the non-secret headers constraint, which is also present in the schema, and the purpose. It does not disclose response behavior, idempotency, or any side effects beyond creation. Given annotations cover the basic safety profile, the description adds modest value but no deeper behavioral context.

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?

The description is a single, well-structured sentence that front-loads the action and resource, then adds a constraint and purpose. No redundant or filler content; 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 create operation with no output schema, the description conveys the essential purpose and a key constraint. It does not elaborate on post-creation steps (like attaching tools) but that is covered by sibling tools. The tool's complexity is moderate, and the description is sufficient for an agent to understand when and how to use it correctly.

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 description coverage is 100%, so all six parameters are well-documented in the schema. The description's mention of 'non-secret headers only' aligns with the schema's custom_headers description but does not add new parameter-specific meaning. With high coverage, a 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 the verb 'Register' and the resource 'a new MCP server', and specifies the scope 'in the org'. It also adds the purpose 'so its tools can be attached to agents', which distinguishes it from sibling tools like attach_mcp_server (which attaches an existing server) and update_mcp_server (which modifies an existing one).

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?

The description provides clear context: it is for creating a new server, and the purpose of enabling attachment to agents implies the subsequent workflow. However, it does not explicitly state when NOT to use this tool (e.g., 'if the server is already registered, use attach_mcp_server instead'). The implied usage is strong but not explicit.

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