Skip to main content
Glama

CMO Studio: deploy and host AI-built apps

Link database

link_database

Put the database's connection into a project's variables (the app restarts).

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": {
      "slug": "<slug>",
      "project": "<project>"
    },
    "name": "link_database"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesDatabase slug
envNameNoVariable name (optional)
projectYesProject slug

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations only declare destructiveHint=false, so the description must carry the rest of the burden, and it does disclose one genuinely non-obvious side effect: the app restarts. It remains silent on whether an existing variable with the same name is overwritten, whether the operation is idempotent, and what the caller sees after the restart, which are the details that matter for a mutation-adjacent tool.

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?

A single sentence plus a parenthetical, with the consequential detail (the restart) placed immediately after the action rather than buried. Nothing is padded and no sentence is wasted.

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?

For a three-parameter tool with no output schema, the definition covers the core action and its most visible side effect. It omits overwrite behavior, permissions or authentication requirements, and any indication of what a successful call returns, which leaves real gaps for an agent deciding whether to call it twice or with an envName that already exists.

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 slug, project, and envName are already documented, and the description adds only the framing that the value being placed is the database's connection string under an optional variable name. That mapping of envName to 'variable name' is mildly useful but largely restates the schema.

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 description states a specific verb ('Put') and a specific resource ('the database's connection') plus the destination ('a project's variables'), which is far more informative than the name alone. It does not name or differentiate itself from siblings such as create_database or list_databases, so the agent must infer boundaries rather than be told them.

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?

Usage is implied rather than stated: the agent can infer this is what you call to make a database reachable from a project, and the parenthetical flags the restart consequence. There is no explicit when-to-use, no when-not, and no alternative named for cases where the agent wants a database connection without touching project variables.

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.