Skip to main content
Glama

github_agents_create_or_update_org_secret

Idempotent

Creates or updates an organization secret in GitHub, letting you store sensitive values for organization-level workflows and automation.

Instructions

Create or update an organization 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": {
      "org": "<org>",
      "secret_name": "<secret_name>"
    },
    "name": "github_agents_create_or_update_org_secret"
  }
}

Input Schema

NameRequiredDescriptionDefault
orgYesorg
bodyNoRequest body (JSON object)
secret_nameYessecret_name

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

C2.1/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true and idempotentHint=true, so the create-or-update/idempotent nature is not new information. The description adds nothing about required permissions (admin on the org), what happens to an existing secret value on update, or the fact that the value must be sealed/encrypted before submission — a critical behavior for a secret-writing tool.

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?

One short sentence with no wasted words, but the brevity is under-specification rather than efficiency: it contains no structure, no front-loaded scope qualifier, and no actionable detail.

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 mutating, unannotated-for-permissions secret-write tool with a free-form nested request body and no output schema, the description should cover encryption requirements, permission model, and family scope. None of that is present, leaving the agent to guess.

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?

Although nominal schema coverage is 100%, the schema descriptions are placeholders ('org', 'secret_name') and the nested 'body' object is documented only as 'Request body (JSON object)'. The description does not explain that body must carry the encrypted value and key identifier for a secret write, which is the single most important parameter detail here.

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 an organization secret' essentially restates the tool name, adding only 'organization' versus no scope detail. It never mentions that this is specifically the *agents* (Copilot/agent) secret family, so an agent cannot distinguish it from github_actions_create_or_update_org_secret or github_codespaces_create_or_update_org_secret on the basis of this text.

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 statement of which secret family this belongs to, and no mention of alternatives among the many sibling create_or_update_*_secret tools. The reader must infer scope from the tool name alone.

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