Skip to main content
Glama

update_issue

Modify issue state, labels, or assignees in a Gitopia repository using atomic on-chain transactions. Supports toggling open/closed status, adding/removing labels, and managing assignees.

Instructions

Use this when you need to change an issue's state (open/close), labels, or assignees. All actions are batched into a single atomic on-chain transaction. Requires 'owner', 'name', 'issue_iid'. Optional: 'toggle_state' (open/close), 'state_comment', 'add_labels', 'remove_labels', 'add_assignees', 'remove_assignees'. At least one action must be specified. See also: get_issue, comment_on_issue.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ownerYesRepository owner (username or DAO name)
nameYesRepository name
issue_iidYesIssue number (IID)
toggle_stateNoToggle issue open/closed state
state_commentNoComment to add when toggling state
add_labelsNoLabel IDs to add
remove_labelsNoLabel IDs to remove
add_assigneesNoUsernames to assign
remove_assigneesNoUsernames to unassign
Behavior4/5

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

No annotations provided, so description carries full burden. It successfully discloses 'batched into a single atomic on-chain transaction' (atomicity trait) and validation logic ('At least one action must be specified'). Minor gap: doesn't describe error handling or return value structure.

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?

Six sentences with zero waste: purpose → mechanism → required params → optional params → constraint → siblings. Information is front-loaded with clear progression from what it does to how to use it.

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?

For a 9-parameter mutation tool with no annotations or output schema, description covers purpose, behavioral traits (atomic transaction), parameter requirements, constraints, and sibling navigation. Minor deduction for lack of output description, though absence of output schema reduces obligation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, establishing baseline 3. Description adds value by grouping parameters into required/optional categories and stating the business rule that at least one optional action parameter must be provided—a constraint not expressed in the JSON schema.

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

Purpose5/5

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

Description clearly states the tool changes issue state, labels, or assignees with specific verbs. It distinguishes from sibling tools like get_issue (read) and comment_on_issue (different action) by focusing on modification operations and referencing them in 'See also'.

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

Usage Guidelines5/5

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

Explicitly opens with 'Use this when...' for clear activation context. Names specific alternatives (get_issue, comment_on_issue) to guide selection. States critical constraint 'At least one action must be specified' and clearly delineates required vs optional parameters.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/gitopia/gitopia-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server