Skip to main content
Glama

github_agents_list_repo_secrets

Read-only

Lists repository secrets to check which secret names are configured. Use it to audit secrets in a repository by owner and repo, with optional pagination.

Instructions

List repository secrets

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_list_repo_secrets"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoThe page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
repoYesrepo
ownerYesowner
per_pageNoThe number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already state readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds nothing beyond that: it does not say that secret values are never returned (only names/metadata), does not mention pagination behavior beyond what the schema documents, and says nothing about required token scopes.

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?

The four-word phrase is front-loaded and waste-free, but it is under-specified rather than concise: one short clause could have disambiguated the ecosystem and the metadata-only return.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

A small four-parameter read tool with fully documented schema and safety annotations needs little prose, but the omission of ecosystem scope and the metadata-only nature of secret listings is a real gap for a tool with many similarly named siblings.

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%, with page and per_page documented inline including a pagination reference, so the baseline is 3. The description contributes no additional meaning about owner/repo scoping or pagination defaults.

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?

"List repository secrets" gives a clear verb and resource, but it is essentially the tool name restated and drops the distinguishing qualifier ("agents"). Faced with near-identical siblings like github_actions_list_repo_secrets, github_codespaces_list_repo_secrets and github_dependabot_list_secrets, an agent cannot tell from the description which ecosystem's secrets this returns.

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?

No when-to-use guidance, no prerequisites (repo/owner scope, required permissions), and no mention of alternatives. The agent must infer everything from the tool name and the surrounding catalog.

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