Skip to main content
Glama

github_agent_tasks_create_task_in_repo

Create a task in a GitHub repository's agent tasks API by specifying the owner and repo, letting you start automated agent work tied to that repository.

Instructions

Start a task

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

Input Schema

NameRequiredDescriptionDefault
bodyNoRequest body (JSON object)
repoYesrepo
ownerYesowner

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

C2.2/5.0
Behavior2/5

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

Annotations already disclose readOnlyHint=false and openWorldHint=true, so the write/external-effect nature is known. The description adds nothing beyond that: no statement of required permissions, whether the task runs asynchronously, what state is created, or what happens to repo state. For a mutation tool this is a substantial gap.

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

Conciseness2/5

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

The single sentence contains no wasted words, but that is because it contains almost no information. This is under-specification rather than conciseness, and there is no front-loaded context about what the tool creates.

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?

Given a mutation tool with a nested free-form body, no output schema, and open-world side effects, the definition is far too sparse. An agent cannot know what to put in body, what the response looks like, or what preconditions must hold before calling it.

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 nominally 100%, so the baseline is 3, but the coverage is thin: "owner" and "repo" descriptions merely repeat the field names, and the free-form "body" object — which carries the actual task payload — is documented only as "Request body (JSON object)". The description does nothing to compensate for that unstructured payload.

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?

"Start a task" essentially restates the tool name (create_task_in_repo) without adding a specific verb+resource pairing or scope. It doesn't say what kind of task (agent task), what happens on creation, or how it differs from siblings like github_agent_tasks_list_tasks_for_repo or github_agent_automations_create_repo_automation_task.

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 prerequisites (e.g., agent must be enabled on the repo), and no routing toward alternatives such as the automations-level task creation or listing tools. An agent has to infer everything from the name alone.

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