Skip to main content
Glama

Octolane

get_deal_details

Read-only

Get full details of a specific deal including associated contacts, account, notes, tasks, and next steps. Requires an opportunity_id (use search_deals to find it). Use when asked to show a deal, pull up deal details, or get the full picture on a specific opportunity. For a single field/attribute value (including custom fields), pass field_name; if the field label is custom/unknown, call get_deal_fields first to resolve it.

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": {
      "opportunity_id": "<opportunity_id>"
    },
    "name": "get_deal_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
field_nameNoReturn only this field instead of the whole deal. Accepts a label ('Renewal Date') or a property name, including custom fields.
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.
opportunity_idYesThe opportunity/deal ID (UUID) to get details for

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered; the description adds genuine value by disclosing what the response aggregates (contacts, account, notes, tasks, next steps) and that field_name narrows the payload. It does not mention the session_id propagation behavior, though that is documented in the schema.

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?

Four compact sentences, front-loaded with purpose and payload contents, then prerequisites and the field_name special case. No filler and no repetition of schema text.

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?

There is no output schema, and the description compensates by listing the entity types returned. Combined with read-only annotations and a fully documented schema, an agent has everything needed to choose and invoke this tool correctly.

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 the baseline is 3; the description goes beyond it by explaining field_name accepts either a human label or a property name, including custom fields, and by prescribing get_deal_fields as the resolver when the label is unknown.

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 opens with a specific verb and resource ('Get full details of a specific deal') and enumerates the associated data returned (contacts, account, notes, tasks, next steps), which distinguishes it from sibling lookups like search_deals and get_deal_fields.

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?

It names concrete trigger phrasings ('show a deal', 'pull up deal details', 'get the full picture'), states the prerequisite that opportunity_id must be obtained via search_deals, and routes single-field reads to the field_name path with get_deal_fields as the resolution step for unknown custom labels.

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