Skip to main content
Glama

activity_types_delete

Remove a custom activity type by marking it as deleted. Existing activities retain the type, but it becomes unavailable for new activities.

Instructions

Delete an activity type.

Marks an activity type as deleted. Only custom activity types can be deleted, not system-defined ones.

Workflow tips:

  • Use activity_types/list to find the activity type ID first

  • Only custom activity types can be deleted (is_custom_flag = true)

  • Existing activities with this type will retain the type but it won't be available for new activities

  • This action marks the type as inactive (active_flag = false)

Common use cases:

  • Remove unused custom type: { "id": 12 }

  • Clean up old activity types: { "id": 15 }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesID of the activity type to delete
Behavior5/5

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

Without annotations, the description fully discloses behavior: soft delete (marks as inactive, active_flag = false), only custom types, system types unaffected. No contradictions.

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?

Well-organized into sections: title, description, workflow tips, common use cases. Each sentence adds value. Two example use cases are concise and informative. No fluff.

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 single-parameter tool with no output schema and no annotations, the description is fully complete. It covers behavior, limitations, side effects, and prerequisites. Examples illustrate usage.

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% with a clear 'id' description. The description adds value by recommending a prerequisite step (list to find ID) and showing example formats for the ID. Exceeds baseline.

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 explicitly states 'Delete an activity type' and explains it marks as deleted. It distinguishes from siblings like 'activities_delete' by focusing on activity types, not activities themselves.

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 clear when-to-use: only custom activity types. Includes workflow tips like finding the ID via 'activity_types/list' and checking 'is_custom_flag'. Also explains consequences (existing activities retain type, not available for new).

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