Skip to main content
Glama

Twenty MCP by usefulapi

Create opportunity

twenty_create_opportunity
Destructive

Create a new opportunity (deal). name is required; amountMicros combines with currencyCode into amount:{amountMicros,currencyCode}. Twenty REST: POST /rest/opportunities.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesThe opportunity name (required).
extraNoPassthrough object of additional/custom fields merged into the request body verbatim.
stageNoPipeline stage — e.g. SCREENING, MEETING, PROPOSAL, NEGOTIATION, CUSTOMER (custom pipelines vary).
closeDateNoExpected close date (ISO 8601).
companyIdNoId of the associated company.
amountMicrosNoOpportunity amount in micros (× 1,000,000). Sent as amount:{amountMicros,currencyCode}.
currencyCodeNoCurrency code for the amount (default USD; only sent when amountMicros is provided).USD
pointOfContactIdNoId of the point-of-contact person.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations supply only destructiveHint=true, so the description carries most of the burden. It does add real value by disclosing the payload transformation (amountMicros + currencyCode collapse into a nested amount object) and the underlying POST /rest/opportunities endpoint, but it says nothing about idempotency, error behavior, auth requirements, or what happens to unknown fields routing through `extra`.

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?

Three short clauses, correctly front-loaded with the purpose before the field mechanics. Minor redundancy with the schema on the amount composition, but nothing wasted at the sentence level.

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 an 8-parameter create tool with a fully documented schema, the description covers the essentials. The remaining gap is that with no output schema defined, it never indicates what the call returns (e.g. the created opportunity's id), which a caller needs to chain into follow-up calls.

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 baseline is 3. The description's parameter notes (`name` required, amount composition) largely restate what the schema property descriptions already say, so it adds little beyond the structured fields.

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 states a specific verb and resource ("Create a new opportunity (deal)") and the alias "deal" helps map to domain language. It clearly separates this from the get/update/list opportunity siblings via the verb, but never names or contrasts an alternative 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 only implied by the verb: you call it when you want a new opportunity record. There is no statement of prerequisites, when to prefer update_opportunity instead, or any exclusion — a caller must infer everything from the tool name.

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.