Skip to main content
Glama

Choose a repository

choose_github_repo

Choose the GitHub repository Hinto's agent reads when it investigates.

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": "choose_github_repo"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoYes
ownerYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=true, so the agent knows this is a non-destructive state change. The description adds that the effect is to set the repository the agent reads, which is real context beyond the annotations, but it doesn't say whether an existing selection is replaced, whether prior selection persists, or what confirmation is returned.

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

Conciseness5/5

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

A single front-loaded sentence with zero filler that conveys the action and its consequence. Nothing could be removed without losing meaning.

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

Completeness3/5

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

The tool is simple (two required params, no output schema), but the zero schema coverage means format expectations for owner/repo are entirely missing, and the description doesn't indicate the result of a successful selection. Adequate in spirit, incomplete for correct invocation.

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 description coverage is 0% for both required parameters, so the description carries the full burden — yet it says nothing about 'owner' (user vs organization) or 'repo' (name only, not a full URL or owner/name slug). With two required, completely undocumented params, this gap materially risks malformed calls.

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

Purpose4/5

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

The description gives a specific verb ('Choose') and resource ('GitHub repository') and scopes it to the repo 'Hinto's agent reads when it investigates', which tells the agent this is a selection/persistence action rather than a listing. It does not explicitly distinguish itself from the sibling list_github_repos, but the purpose is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the investigative context — you'd call this when configuring which repository the agent should scan — but there is no explicit when-to-use, no prerequisite (e.g. a repo must already be connected), and no pointer to using list_github_repos to discover valid owner/repo values first.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources