Skip to main content
Glama

Pitchlane

Rename a Pitchlane folder

rename_folder
Idempotent

Rename a Pitchlane folder. It keeps its id and its campaigns. Refused when the user already has another folder with that name (folder_name_taken). To rename a campaign, not a folder, use update_campaign with name.

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": {
      "folder_id": "<folder_id>",
      "name": "<name>"
    },
    "name": "rename_folder"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesThe folder's new name, 1 to 100 characters, e.g. `Q1 outbound`. The user cannot have two folders with the same name.
folder_idYesThe folder's id, as list_folders returns it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, so the description's added value is in the specifics: the folder keeps its id and its campaigns, and a name collision is rejected with a named error code. That is meaningful behavior beyond the annotation set, though it doesn't mention case-sensitivity of the uniqueness check or whether the old name is recoverable.

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, each carrying a distinct fact (action, invariants preserved, error condition, sibling alternative), with the core action front-loaded and no filler.

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 two-parameter mutation with full schema coverage, annotations, and no output schema, the description covers action, preserved state, failure mode, and the sibling alternative. It falls just short of complete because it doesn't indicate what the tool returns (e.g. the updated folder object) or whether the name is normalized before the uniqueness check.

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 both `name` and `folder_id` are already documented in the schema, including the uniqueness constraint the description repeats. The description adds no new parameter-level meaning (no format hints, no note on whether `name` is trimmed or case-normalized), so baseline 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?

The description opens with a specific verb+resource ('Rename a Pitchlane folder') and immediately distinguishes it from the campaign-level sibling by naming update_campaign with `name`. An agent can tell folder rename from campaign rename without opening either schema.

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?

It explicitly routes the campaign-rename case to update_campaign and states the refusal condition (folder_name_taken), giving clear context for when this tool is and isn't the right call. It does not discuss the create_folder boundary (renaming into an existing name vs creating), which is the only remaining ambiguity.

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