Skip to main content
Glama

Reorder Budget Line Items

reorder_budget_line_items

Reorder up to 25 existing items in one budget. All item relationships are checked before execution. MCP approval requirements are configurable by the organization administrator; business workflow approvals always apply.

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": {
      "budgetId": "<budgetId>",
      "data": "<data>"
    },
    "name": "reorder_budget_line_items"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataYes
budgetIdYes

Output Schema

NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

The annotations already establish non-destructive, non-read-only, non-idempotent, and closed-world behavior. The description adds meaningful context by stating that item relationships are checked before execution and that approval requirements may be configured by an administrator while business workflow approvals always apply.

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

Conciseness4/5

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

The description is short and front-loads the core operation, limit, and scope. The three sentences are mostly efficient, though the approval sentence could be sharper about how approval affects invocation.

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 nested two-parameter mutation tool with no schema descriptions, the definition covers scope, item count, validation, and approvals. It still leaves important input details unexplained, especially how displayOrder should be set and what budgetId scopes.

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%, so the description must carry the burden for the nested parameters. It only says items are existing and caps them at 25, without explaining budgetId, item ids, or the meaning of displayOrder, so much of the parameter semantics remain undocumented.

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 a specific verb and resource: 'Reorder up to 25 existing items in one budget.' It is clearly distinct in meaning, but it does not explicitly differentiate itself from closely related siblings such as update_budget_line_item or bulk_assign_budget_line_items.

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?

It gives useful preconditions: items must already exist, there is a 25-item cap, and it affects one budget. However, it never says when to choose this tool over update_budget_line_item or bulk_assign_budget_line_items, nor does it state exclusions.

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