Skip to main content
Glama

github_agent_tasks_get_task_by_repo_and_id

Retrieve a GitHub task's details using its repository owner, repo name, and task ID. This tool returns the task's current information.

Instructions

Get a task by repo

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>",
      "task_id": "<task_id>"
    },
    "name": "github_agent_tasks_get_task_by_repo_and_id"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoYesrepo
ownerYesowner
task_idYestask_id

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.2

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, and the description does not disclose behavioral traits such as read-only nature, side effects, or authentication requirements. The description is insufficient to inform an agent about safety or expected behavior.

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 description is a single sentence, which is concise but too brief to convey useful information. It could be expanded to include more details without becoming unnecessarily verbose.

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?

No output schema is provided, and the description does not explain what the response contains. For a retrieval tool, this is a notable gap, but the tool is simple enough that the basic purpose is somewhat clear.

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?

Input schema has 100% description coverage, but the descriptions are merely field names ('owner', 'repo', 'task_id'), adding no extra meaning. The tool description does not elaborate on parameter semantics either.

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 states 'Get a task by repo', which implies retrieving a specific task. However, it does not mention that the task_id is required, making it slightly vague compared to the tool name which includes 'by_repo_and_id'. It does distinguish from siblings like 'get_task_by_id' and list tools, but not explicitly.

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 guidance on when to use this tool versus alternatives such as 'github_agent_tasks_get_task_by_id' or 'github_agent_tasks_list_tasks_for_repo'. The description provides no context for selection.

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