Skip to main content
Glama

github_agents_create_or_update_repo_secret

Idempotent

Creates or updates a repository secret to securely store sensitive values like tokens and keys for GitHub Actions and integrations.

Instructions

Create or update a repository secret

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": {
      "owner": "<owner>",
      "repo": "<repo>",
      "secret_name": "<secret_name>"
    },
    "name": "github_agents_create_or_update_repo_secret"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoRequest body (JSON object)
repoYesrepo
ownerYesowner
secret_nameYessecret_name

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

C2.3/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and openWorldHint=true, so the mutation and idempotency profile is covered structurally. The description adds nothing behavioral: it doesn't say the secret value must be libsodium sealed-box encrypted, that an existing secret is silently overwritten, that a key/public-key fetch is needed first, or what permissions are required. For a write tool touching secrets, that silence is a real gap.

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

Conciseness3/5

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

It is a single short sentence with zero redundancy, so it is not bloated, but the brevity reflects under-specification rather than economy. There is no front-loaded scope statement, alternative routing, or prerequisite note.

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?

This is a mutating, nested-body, no-output-schema tool with three required parameters and many near-identical siblings. Against that complexity the description supplies nothing beyond the name: no encryption prerequisite, no overwrite semantics, no disambiguation between the agents/actions/codespaces/dependabot scopes, and no return information.

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 nominally 100%, which sets a baseline of 3, but the coverage is thin: owner/repo/secret_name are described only by repeating their names. The nested free-form `body` object ("Request body (JSON object)") is completely opaque, and the description does nothing to reveal that it needs fields such as encrypted_value and key_id. The description therefore neither helps nor actively misleads on parameters.

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?

The description "Create or update a repository secret" restates the tool name (github_agents_create_or_update_repo_secret) almost word for word, adding no scope information. It gives no hint of how it differs from the many sibling secret tools (github_actions_create_or_update_repo_secret, github_codespaces_create_or_update_repo_secret, github_dependabot_create_or_update_repo_secret, or the org-level variants). An agent must open the schema to learn anything beyond the name.

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 when-to-use guidance, no exclusion of alternatives, and no prerequisites. The description doesn't say when to prefer this over the actions/codespaces/dependabot repo-secret siblings, nor when an org-secret tool is the right choice. The only implied usage comes from the tool name itself, not the description.

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

Deploy Server

Other Tools