Skip to main content
Glama

github_agents_update_repo_variable

Update a GitHub repository variable by specifying owner, repo, and variable name, with an optional JSON request body for new values. Use it to modify existing repository-level configuration values.

Instructions

Update a repository variable

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

Input Schema

NameRequiredDescriptionDefault
bodyNoRequest body (JSON object)
nameYesname
repoYesrepo
ownerYesowner

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 and openWorldHint=true, so the description's only job is added behavior, and it adds none: no statement of required permissions, no note on whether an unknown variable is created (PUT semantics), and no indication of what happens to fields omitted from the body. The mutation is disclosed only by the annotations, not by the description.

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?

At five words it is certainly front-loaded and free of padding, but the brevity is under-specification rather than economy — nothing here earns a higher mark because nothing useful is conveyed beyond the title.

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 four-parameter mutation tool with a nested free-form body and no output schema, the description should at minimum say what the body must contain and whether the operation is idempotent or creates on miss. Neither is covered, so an agent can construct a syntactically valid but semantically wrong call.

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 coverage is reported at 100%, so the baseline applies, but the schema's own descriptions are bare labels ("owner", "repo", "name") and say nothing about the free-form nested body object where the new variable value must actually go. The description contributes no meaning beyond those labels, leaving the most important argument shape unexplained.

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?

"Update a repository variable" restates the name's verb and resource and nothing more. It does not distinguish this tool from close siblings such as github_agents_update_org_variable, github_agents_create_repo_variable, or github_agents_get_repo_variable, so the agent learns only that a mutation targets a repo-scoped variable.

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 or when-not-to-use guidance and no mention of alternatives. The agent must infer from the name alone that this is the correct call for modifying an existing repo variable rather than creating one or operating on an org variable.

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