Skip to main content
Glama

Edit a department group

dept_group_edit
DestructiveIdempotent

Edit an existing department group by its ID. Use data_list_department_groups to find the ID.

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": {
      "id": "<id>"
    },
    "name": "dept_group_edit"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesID of the department group to modify
titleNoDepartment group display name
positionNoDisplay order on keyboard
accountingChapterNoAccounting chapter code
accountingChapterComplementNoAdditional accounting chapter reference

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.3/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the safety profile is known. The description adds nothing beyond that: it does not say whether omitted fields are preserved or cleared, whether the whole group is overwritten, or what happens on a bad ID — meaningful gaps for a destructive mutation.

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?

Two short sentences with no filler, front-loading the action and following with the ID-lookup hint. Nothing could be cut without losing information.

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?

For a five-parameter destructive mutation with no output schema, the definition covers the minimum: what it does and how to obtain the key. It leaves unaddressed whether the edit is partial or full-replacement and what a success response looks like, which an agent would need before calling it on live data.

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%, so all five parameters (id, title, position, accountingChapter, accountingChapterComplement) are already documented in the schema, establishing a baseline of 3. The description only echoes the 'by its ID' requirement and adds no new meaning, such as partial-update semantics or format expectations.

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?

Names a specific verb and resource ('Edit an existing department group by its ID'), which is clearly distinct from sibling dept_group_add and dept_group_delete. It stops short of explicitly contrasting with those siblings, but the verb+resource pairing 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?

Provides one concrete workflow instruction: use data_list_department_groups to find the ID. That is useful prerequisite guidance, but there is no statement of when to prefer this over add/delete or what conditions make an edit appropriate.

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