Skip to main content
Glama

roles_update

Update role details including name and parent role in Pipedrive. Change hierarchy or rename roles with admin permissions.

Instructions

Update role details.

Updates information for an existing role. Requires admin permissions.

Workflow tips:

  • Only provided fields will be updated

  • Use roles/get to retrieve current values first

  • Changing parent_role_id affects hierarchy

  • Name should remain unique

Common use cases:

  • Rename role: { "id": 123, "name": "Senior Sales Team" }

  • Change hierarchy: { "id": 123, "parent_role_id": 456 }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesID of the role to update
nameNoName of the role
parent_role_idNoID of the parent role
Behavior4/5

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

Discloses that it requires admin permissions and mentions behavioral implications like hierarchy changes and name uniqueness. However, it does not explain error responses or behavior if the role does not exist. With no annotations, the description carries the burden and covers key traits well.

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?

The description is concise, using a brief introductory sentence followed by bullet points for workflow tips and use cases. Every sentence adds value without redundancy, and examples are front-loaded for quick understanding.

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 simple update tool with three parameters and no output schema, the description adequately covers purpose, prerequisites, workflow, and examples. It does not explain return values, but that is acceptable given the lack of output schema.

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%, but the description adds value beyond schema definitions by providing example JSON bodies and explaining the effect of changing parent_role_id. This helps the agent understand parameter usage beyond syntax.

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 clearly states 'Update role details' and 'Updates information for an existing role,' using a specific verb and resource. It distinguishes from sibling tools like roles_create, roles_delete, and roles_get by focusing on update operations.

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?

Provides explicit workflow tips: only provided fields are updated, use roles/get to retrieve current values, and notes on uniqueness and hierarchy. Common use cases with JSON examples give clear context on when and how to use the tool.

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/iamsamuelfraga/mcp-pipedrive'

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