Skip to main content
Glama

OpenFactory

generate_lab_secret

Generate an encrypted, versioned lab credential; return only its reference.

Existing names stage a new version. Explicit deployment references activate it after the application's credential rotation procedure. The owner reveals credentials through the authenticated console, never this MCP response.

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": {
      "lab_id": "<lab_id>",
      "name": "<name>"
    },
    "name": "generate_lab_secret"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
lab_idYes
api_keyNo
session_tokenNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that the secret is versioned, that activation is a separate step requiring a deployment reference, and that the plaintext is never returned through MCP but only via the authenticated console. It omits permission/ownership requirements and whether a failed rotation leaves the old version active, which keeps it from a 5.

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?

Three short sentences, front-loaded with the core action and return-value constraint, and no filler. The phrase 'Explicit deployment references activate it after the application's credential rotation procedure' is slightly abstract relative to the schema, which names no such field.

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?

The presence of an output schema relieves the description of explaining return values, and the security model is well covered. But for a mutation tool with no annotations, 0% parameter coverage, and a hidden activation step, the description leaves too much about invocation and side effects unspecified for a 4 or 5.

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

Parameters4/5

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

Schema description coverage is 0% across 4 parameters, so the description must compensate; it partially does by implying name semantics (reusing an existing name stages a new version) but says nothing about lab_id, api_key, or session_token. The two credential-looking parameters in particular are left entirely unexplained, which is a real gap for a secret-handling tool.

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 clear verb and resource: generate an encrypted, versioned lab credential, and adds the key output fact that only a reference is returned. It does not explicitly distinguish itself from close siblings such as set_lab_secret, rotate_app_auth_secret, or deliver_lab_secret, so an agent must still infer which one to pick.

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?

It gives behavioral context -- reusing a name stages a new version, and an explicit deployment reference activates it after the rotation procedure -- which implies usage. However, it never states when to choose this tool over set_lab_secret or rotate_app_auth_secret, nor any prerequisites such as ownership or prior lab creation.

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.