Skip to main content
Glama

github_agents_list_repo_organization_secrets

Read-only

Lists organization secrets available to a specified repository by owner and repo, with pagination, to support auditing or managing secret access.

Instructions

List repository organization 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_organization_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.3/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 safety is covered, but the description adds no behavior of its own: no statement about whether secret values are masked, whether pagination is required, or how access scope is determined. For a secrets-listing endpoint where the disclosure surface matters, that is a meaningful omission.

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?

It is a single front-loaded sentence with zero padding, which is structurally fine, but the brevity is achieved by dropping the disambiguating information rather than by efficient phrasing. Short yet underspecified.

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?

The schema and annotations are rich, and no output schema exists, so the description's remaining job is to state scope and return shape in prose. It fails to resolve the central ambiguity about which secrets are returned, which is the one thing an agent cannot recover from the structured fields.

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 owner, repo, page and per_page all documented in the schema itself, including pagination links. The description contributes no additional parameter meaning, so the baseline 3 applies.

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?

"List repository organization secrets" restates the tool name verbatim and leaves the scope genuinely ambiguous: it never says whether the results are organization-level secrets scoped to a repository, or repository secrets at the org level. Siblings like github_agents_list_repo_secrets and github_agents_list_org_secrets exist precisely to separate those cases, and this description does nothing to place itself among them.

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 mention of the repo-scoped-vs-org-scoped alternative, and no prerequisites such as required permissions or admin role for reading secrets metadata. An agent must infer everything from the name.

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