Skip to main content
Glama

Reorder profile projects

reorder_profile_projects
Idempotent

Set the top-to-bottom order of a profile's projects. Pass every project id in the desired order: the list must hold exactly the profile's current projects, or the call is rejected and nothing moves. Read ids with get_profile_section (section "projects"). Returns the projects in their new order.

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>",
      "projectIds": "<projectIds>"
    },
    "name": "reorder_profile_projects"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesProfile id, from list_profiles.
projectIdsYesEvery one of the profile's project ids, each once, in the desired order.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare non-read-only, idempotent and non-destructive, so the description is not the sole source of safety context. It nonetheless adds real value: the list must match the profile's current projects exactly, violation is all-or-nothing ("nothing moves"), and the response returns the new order — details absent from the annotations.

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?

Three short sentences, front-loaded with the action, followed by the constraint and the prerequisite lookup. No redundant or filler wording.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter mutation with no output schema, the description covers the action, the hard validation rule, the failure mode, how to obtain valid ids, and what is returned. Nothing an agent needs before calling is missing.

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 coverage is 100% and the schema already documents both parameters, including that projectIds must contain every project id once in desired order. The description restates that constraint and adds only the rejection consequence, so the baseline of 3 applies.

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?

States a specific verb and resource ("Set the top-to-bottom order of a profile's projects"), which is clearly distinct from add_profile_project and delete_profile_project in the sibling set. The scope (ordering, not membership) 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 Guidelines4/5

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

"Read ids with get_profile_section (section \"projects\")" names the prerequisite tool and section explicitly, and the exact-set requirement effectively defines when the call will succeed versus fail. No explicit exclusion of alternative tools, which keeps it just under a 5.

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