Skip to main content
Glama

Octolane

create_pipeline_field

Destructive

Create a new custom field on a sales pipeline (deals). Pipeline fields are scoped to a single pipeline - a property created on pipeline A is not visible on pipeline B. Required: name, pipeline_id and attribute_type. If the user did not say which pipeline or which type, ask them - never guess. IMPORTANT — name is ONLY the field label. It is a short noun phrase like "ARR" or "Renewal Date". It NEVER contains verbs ("add", "set"), quantities ("$100k"), or the record you are targeting ("on Stripe"). Extract the label alone from the user's request. Good: name: "ARR". Bad: name: "ARR and set the value $100k on Stripe". Use list_pipeline_stages or get_deal_fields to discover pipeline_id. Supported attribute_type values: string, number, checkbox, date, date_range, rating, timestamp, select, multi_select, currency, percentage, location, time, datetime, email, phone, website, url. For select / multi_select pass metadata.select_options as [{ value, label, color?, order }]. SETTING A VALUE TOO: this tool only creates the field. When the user also wants a value set ("set ARR to $100k on Stripe" and ARR does not exist yet), call bulk_update_deals next with the property_name this call returns.

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": {
      "name": "<name>",
      "attribute_type": "<attribute_type>",
      "pipeline_id": "<pipeline_id>"
    },
    "name": "create_pipeline_field"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesDisplay label of the new field, e.g. 'Renewal Date'.
orderNoOptional display position within the default view.
metadataNoField metadata. Required for select / multi_select (set select_options).
session_idNoThe ID of the task this call belongs to. Leave it out on your first call. On every later call for the same task, send the ID an earlier result gave you, and pass it to any subagent working on that task.
descriptionNoOptional description shown in the field configuration UI.
pipeline_idYesPipeline UUID. Use list_pipelines to find it.
attribute_typeYesData type of the field. Use 'select' or 'multi_select' for dropdowns (also pass metadata.select_options).

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, so the safety profile is known; the description still adds real context beyond them — pipeline-level scoping/visibility, the fact that this call only creates the field, and the hand-off to bulk_update_deals. It does not cover what happens if a field with the same name already exists, which matters for a non-idempotent mutation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with purpose and required params, then conditional guidance, then the name-label warning. The name lecture with duplicated Good/Bad examples and the re-listing of the type enum are somewhat verbose and partly restate the schema, but each block targets a realistic failure mode.

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 mutation tool with no output schema and 100% schema coverage, the description supplies the missing pieces: required inputs, scoping semantics, type list, nested select_options requirement, and the downstream call. An agent can invoke it correctly and chain it without extra information.

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% so baseline is 3, but the description adds genuine meaning: it constrains `name` to a bare noun-phrase label with concrete good/bad examples, and gives the select_options object shape. One flaw: its enumerated attribute_type list omits 'radio' and 'team_members', which do appear in the schema enum, so an agent reading only the prose could miss two valid types.

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?

Opens with a specific verb and resource ('Create a new custom field on a sales pipeline'), immediately scopes it ('scoped to a single pipeline - a property created on pipeline A is not visible on pipeline B'), and thereby separates it from the account/contact field siblings in the catalog.

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?

Explicitly instructs the agent to ask the user rather than guess when pipeline_id or attribute_type is unspecified, names list_pipeline_stages and get_deal_fields as discovery routes for pipeline_id, and routes the value-setting case to bulk_update_deals with the returned property_name. This is the full when/when-not/alternatives pattern.

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