Skip to main content
Glama

github_agents_get_repo_secret

Read-only

Retrieve metadata for a named repository secret by owner, repo, and secret name, without exposing the secret value.

Instructions

Get 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_get_repo_secret"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoYesrepo
ownerYesowner
secret_nameYessecret_name

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered, but the description adds nothing beyond them. It does not disclose that GitHub secret-read endpoints typically return metadata only (name, timestamps) rather than the secret value, nor any auth/permission requirements — which is the single most important behavior for a tool named "get secret".

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

Conciseness4/5

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

A single short sentence with no filler and no front-loading problems. Its brevity is not the issue; the missing substance is captured under contextual completeness.

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 tool sitting in a dense family of secret/variable CRUD operations across four namespaces, a bare four-word description leaves the agent unable to disambiguate or anticipate the metadata-only return. No output schema exists to offload return-value explanation, so the description should carry more.

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 100% (three required params: owner, repo, secret_name), so per the baseline this lands at 3 even though the schema labels are bare restatements. The description contributes no additional meaning, e.g. whether secret_name is case-sensitive or how owner/repo scope interacts.

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 description states a verb and resource ("Get a repository secret"), but it is essentially the tool name restated and gives no basis for distinguishing this agent-secret read from the sibling github_actions_get_repo_secret, github_codespaces_get_repo_secret, or github_dependabot_get_repo_secret. The secret type (agents) is only inferable from the tool name, not the 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 prerequisites, and no mention of alternatives. An agent choosing among four near-identical get_repo_secret tools for different secret namespaces gets no help from the description at all.

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