Skip to main content
Glama

OpenFactory

set_lab_secret

Store a supplied credential encrypted at rest; return its versioned reference.

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>",
      "value": "<value>"
    },
    "name": "set_lab_secret"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
valueYes
lab_idYes
api_keyNo
session_tokenNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full burden. It usefully discloses at-rest encryption and a versioned reference, but says nothing about required permissions, whether re-setting an existing name overwrites it or creates a new version, idempotency, or what happens to prior versions – all critical for a mutation tool touching credentials.

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?

A single front-loaded sentence with no filler; the key behavior (encrypted at rest) and the return shape lead. It is efficient, though the terseness is part of the completeness problem rather than a stylistic flaw.

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

Completeness2/5

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

For a 5-parameter credential-mutation tool with no annotations and zero schema description coverage, one sentence is not sufficient. The existence of an output schema excuses explaining the return value, but overwrite semantics, auth parameter purpose, and scope relative to sibling secret tools remain unaddressed.

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% across 5 parameters, so the description must compensate and largely does not. It hints that 'value' is the credential and that 'name' labels it, but the required lab_id and the optional api_key/session_token authentication parameters are entirely unexplained.

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 uses a specific verb and resource ('Store a supplied credential') and adds two distinguishing traits: encryption at rest and a versioned reference as the result. 'Supplied' implicitly separates it from generate_lab_secret, though the separation is never made explicit.

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 explicit when-to-use guidance and no mention of the obvious alternatives (generate_lab_secret for creating a secret, rotate_app_auth_secret, delete_lab_secret). An agent must infer from the single word 'supplied' whether this tool overwrites an existing secret or is the right choice over generating one.

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.