Skip to main content
Glama

Octolane

get_deal_fields

Read-only

Discover available fields and custom properties for deals. Pass pipeline_name or pipeline_id to list fields for ONE pipeline. Omit both to list fields for EVERY pipeline in the org (returns a pipeline_fields array, one entry per pipeline) - use this when the user asks for fields without naming a pipeline. Returns field names, types, and valid dropdown options. Each pipeline can have different custom fields. Use when asked "what fields can I set on a deal," before creating/updating deals, or when asked about deal properties or pipeline-specific custom fields.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_deal_fields"
  }
}

Input Schema

NameRequiredDescriptionDefault
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.
pipeline_idNoPipeline ID (if already known)
pipeline_nameNoName (or partial name) of the pipeline to get attributes for

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.8/5.0
Behavior5/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 then adds behavior the annotations cannot convey, notably the `pipeline_fields` array shape with one entry per pipeline and the fact that each pipeline may have different custom fields. It also discloses what the response contains (names, types, valid dropdown options), which matters since there is no output schema.

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?

The scoping rule and the default behavior are front-loaded and the sentences are mostly load-bearing. The closing trigger list slightly overlaps the earlier "user asks for fields without naming a pipeline" guidance, costing a little tightness.

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 three-parameter, non-destructive read tool with no output schema, the description covers the mode switch, the return shape, and the calling situations. An agent has everything needed to invoke it correctly on the first try.

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, but the description genuinely adds semantics: pipeline_name and pipeline_id are alternatives, and omitting both switches the tool to an all-pipelines mode. It does not expand on session_id, which the schema already documents.

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+resource ("Discover available fields and custom properties for deals") and makes the scope explicit (org-wide vs. single-pipeline). It is distinguishable from get_account_fields/get_contact_fields by resource, and from get_deal_details by what it returns.

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 gives explicit routing rules: pass pipeline_name or pipeline_id for ONE pipeline, omit both for EVERY pipeline, and "use this when the user asks for fields without naming a pipeline." It also names concrete triggering situations ("what fields can I set on a deal," before creating/updating deals).

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