Skip to main content
Glama
mh-zeynal

gapify-mcp-server

by mh-zeynal

Custom Attributes: Add a new custom attribute

gapify_add_custom_attribute

Define a new custom attribute for an account to capture extra conversation or contact data. Specify display name, key, type, and allowed values in one API call.

Instructions

Add a new custom attribute to account [Custom Attributes] POST /api/v1/accounts/{account_id}/custom_attribute_definitions Auth: User API key (header api-access-token). Body fields: attribute_display_name, attribute_display_type, attribute_description, attribute_key, attribute_values, attribute_model. Extra fields can be passed via extra_body. Text values may be written in Persian (Farsi) or any other language and are sent unchanged; IDs, numbers and phone numbers may use Persian or Arabic-Indic digits.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
account_idYesThe numeric ID of the account
extra_bodyNoAdditional JSON body fields to merge into the request (for keys not listed above).
attribute_keyNoAttribute unique key value
attribute_modelNoAttribute type(conversation_attribute- 0, contact_attribute- 1) Example: 0
attribute_valuesNoAttribute values Example: ["string"]
attribute_descriptionNoAttribute description
attribute_display_nameNoAttribute display name
attribute_display_typeNoAttribute display type (text- 0, number- 1, currency- 2, percent- 3, link- 4, date- 5, list- 6, checkbox- 7) Example: 0

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=false, so the description's job is lighter. It adds real value beyond them: the auth header required, the exact request path, the accepted body fields, and the note that Persian/Arabic-Indic text and digits are sent unchanged, which matters for data integrity.

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?

It is front-loaded with the action, then gives endpoint, auth, body fields and the encoding caveat in a compact block. No filler sentences, though the field list slightly duplicates the schema.

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 creation tool with 8 parameters, a nested extra_body object and no output schema, the description supplies the auth method, the endpoint, the mappable body fields and the escape hatch for extra fields. It does not describe the response or error behavior, which is the main remaining gap.

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 the schema already documents every parameter including the display-type and model enumerations. The description restates the body field names but adds no semantics beyond that, apart from the language/digit handling note; baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/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 ('Add a new custom attribute') and includes the concrete endpoint, so the agent knows exactly what is created. It is distinguishable from siblings like list/get/update/remove_custom_attribute, though it never names them explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by 'Add a new' versus the sibling update/remove tools, but there is no explicit statement of when to prefer this tool over gapify_update_custom_attribute or what prerequisites exist. The requirement of a User API key is stated, which helps a little.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools