Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_TRANSPORTNoTransport mode: 'stdio' or 'http'stdio
MCP_AUTH_TOKENNoBearer token for HTTP transport authentication (required if MCP_TRANSPORT=http)
PIPEDRIVE_DOMAINYesYour Pipedrive domain (e.g., 'yvy' for yvy.pipedrive.com)
PIPEDRIVE_API_TOKENYesYour Pipedrive API token

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_backupsA

List recent backup snapshots (most recent first). Use restore_backup with the filename to undo.

restore_backupA

Restore the state captured in a backup file (undo a previous operation).

  • CREATE ops → deletes the entity that was created.

  • UPDATE ops → PATCHes the entity back to the before state.

  • DELETE ops → re-creates the entity from before (note: for remove_deal_field, only the schema is recreated; per-deal values are permanently lost).

list_dealsA

List deals. Defaults to Renda Fixa pipeline (id=6) + open status.

Pass pipeline_id=None to query across ALL pipelines.

get_dealB

Fetch full details of a single deal.

search_dealsC

Search deals by title or custom field content.

update_dealC

Update one or more fields on a deal. Auto-snapshots before+after for undo.

Essential fields (title, value, org_id, person_id, stage_id, etc.) cannot be blanked — passing "" for title is rejected. To change them, pass the new value.

move_deal_to_stageA

Move a deal to a specific stage. Use list_stages to find stage_id. Auto-backed up.

clear_deal_custom_fieldA

Clear (set to null) one custom field on a deal. Auto-backed up.

Refuses to clear essential fields (value, title, org_id, etc.) — those define the deal and shouldn't be blanked. Change them via update_deal with a new value.

add_note_to_dealB

Attach a note (descrição rica, aceita HTML) to a deal. Notes API is v1. Auto-backed up.

link_meeting_to_dealC

Create a meeting activity linked to a deal.

  • due_date: "YYYY-MM-DD"; due_time: "HH:MM"; duration: "HH:MM"

  • participants: list of person_ids attending

create_follow_upB

Create a follow-up (task/call/email) linked to a deal. Auto-backed up.

list_activities_for_dealA

List activities on a deal. done=False=pending only, True=completed only, None=both.

mark_activity_doneC

Mark an activity done (or reopen it). Auto-backed up.

search_personsC

Search persons by name, email, or phone.

get_personB

Fetch a person's full record.

create_personA

Create a new person. Email/phone added as primary 'work' contact. Auto-backed up.

update_personC

Update a person. Email/phone REPLACE the primary entry. Auto-backed up.

link_person_to_dealA

Set person_id on a deal (replaces any previously-linked contact). Auto-backed up.

search_organizationsC

Search organizations by name.

get_organizationC

Fetch an organization's full record.

create_organizationC

Create a new organization. Auto-backed up.

link_organization_to_dealB

Set org_id on a deal. Auto-backed up.

attach_contact_to_dealA

Find-or-create a person (by email) and optionally an organization (by name), then link both to the deal.

Flow:

  1. Search person by email — if not found, create (requires contact_name).

  2. If company_name given, search org — if not found, create.

  3. Link person+org to the deal.

Each sub-operation is independently backed up. To fully undo, restore each backup file in reverse order (use list_backups).

list_deal_fieldsA

List all deal fields (default + custom) with their key (used in custom_fields dict) and field_type.

Use the returned key in update_deal(custom_fields={key: value}).

add_deal_fieldA

Create a new custom deal field on the Pipedrive account.

  • field_type: varchar | text | double | monetary | date | enum | set | address | phone | time | etc.

  • options: list of labels for enum/set (dropdown) fields.

Returns the new field's id and key to use in update_deal(custom_fields={key: value}). Auto-backed up.

remove_deal_fieldA

DELETE a custom deal field. WARNING: per-deal values across ALL deals are PERMANENTLY lost.

Refuses to delete:

  • Essential keys (value, title, org_id, person_id, stage_id, etc.) — listed in PROTECTED_FIELD_KEYS

  • System fields (edit_flag=false) — Pipedrive API also blocks these

Backup recreates the schema on restore, but per-deal values are unrecoverable. Prefer clear_deal_custom_field for per-deal cleanups.

list_pipelinesA

List all pipelines with ids and names.

list_stagesA

List stages of a pipeline (default: Renda Fixa, id=6). Returns stage_ids for move_deal_to_stage.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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

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