Skip to main content
Glama

Create secret

secrets_create

Store credentials and tokens—generic, AWS, GitHub App, or OAuth—scoped to an organization, project, or user so agents can authenticate to external services.

Instructions

Create secret

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesHuman-readable name. Spaces and punctuation are allowed; leading or trailing whitespace and invisible or control characters are not.
orgIDYes
ownerYes
materialYes
metadataNoArbitrary key-value metadata. Maximum 16 pairs, keys up to 64 characters, values must be strings of up to 512 characters.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

D1.8/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, destructiveHint=false, and openWorldHint=false, so the mutation profile is covered structurally. The description adds nothing on top — no mention of the encryption/storage behavior implied by the schema (e.g. GitHub private key "Stored encrypted"), secret visibility, or whether creation overwrites existing secrets.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A three-word phrase is technically concise but represents under-specification rather than efficient communication. Nothing is front-loaded because nothing is said.

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?

For a tool whose schema contains nested discriminated unions, required orgID/owner/material/name, and a max-16-pair metadata object, and which has no output schema and no behavioral annotations beyond safety hints, the description is completely inadequate. An agent cannot determine valid owner/material combinations or required fields from it.

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

Parameters1/5

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

Schema description coverage is only 40%, and the description supplies no parameter meaning whatsoever. This is a serious gap for a schema with five parameters including two discriminated unions (owner: org/project/user; material: generic/aws_credentials/oauth_token_set/github_app_credentials) and a constrained metadata object.

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?

Tautological: description restates name/title.

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 indication of when to use this tool versus secrets_update (for modifying an existing secret) or grant_secrets_add (for granting access). No prerequisites, scope, or exclusions are stated.

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