Skip to main content
Glama

github_agents_create_repo_variable

Creates a repository variable for a GitHub repository using owner, repo, and JSON body, so configuration values can be stored and managed at the repository level.

Instructions

Create 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": "github_agents_create_repo_variable"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoRequest body (JSON object)
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 only declare readOnlyHint=false and openWorldHint=true, carrying no destructive or idempotency information. The description does not disclose what happens if the variable already exists (error vs overwrite), what permissions are required, or whether the operation is reversible — meaningful gaps for a mutation 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?

Four words, front-loaded and free of padding, but the brevity stems from under-specification rather than discipline. There is no structure to speak of beyond a single fragment.

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 write tool with an opaque nested JSON body, no output schema, and annotations that omit destructiveness, the description supplies none of the information an agent needs to construct a valid body or predict side effects. This is materially incomplete.

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 coverage reads as 100%, but the coverage is nominal: 'body' is described only as 'Request body (JSON object)' with additionalProperties unrestricted, so the fields a variable actually needs (name, value, visibility/environment scope) are undocumented in both schema and description. The description adds no meaning beyond even this thin schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The verb and resource are concrete (create + repository variable), so the basic action is identifiable. However, with siblings like github_agents_create_org_variable and github_agents_create_or_update_repo_secret in the catalog, the description does nothing to distinguish repo-scoped creation from org-scoped or secret-based creation.

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 statement of when to use this tool versus alternatives, no mention of prerequisites such as admin permissions, and no guidance on the update-vs-create boundary despite a github_agents_update_repo_variable sibling existing. Only the bare action is implied.

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