Skip to main content
Glama
agentreadycrm

agentreadycrm

Official

Get Opportunity

get_opportunity
Read-onlyIdempotent

Read one deal's full record—fields, dossier, counts, and five newest interactions—by ID to understand its status before acting or answering.

Instructions

Read one deal in full: fields, dossier, counts and the 5 newest interactions logged against it.

Call it when you hold a deal's id and need where it stands before you act or answer. The 5 newest interactions come without their bodies; list_interactions(opportunity_id=...) pages through all of them in full. To find a deal whose id you do not hold, use list_opportunities(query=...).

A host that shows views opens this deal for this call.

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_opportunity"
  }
}

Input Schema

NameRequiredDescriptionDefault
opportunity_idYesThe deal's id (op_...).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.3/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, and closed-world, so the safety profile is covered. The description adds useful non-obvious behavior beyond that: only the 5 newest interactions are returned and without their bodies, plus the side effect that a view-capable host opens the deal. It still says nothing about error behavior for an unknown id or any rate limits, so this is solid but not exhaustive.

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 sentences, front-loaded with the verb and full payload, then usage, then alternatives, then the host note. Every sentence carries distinct routing or behavioral information with no repetition of the schema.

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?

The tool is simple (one required id, output schema present) and the description covers purpose, preconditions, alternate routes, and a genuine host side effect. An agent has everything needed to decide and call correctly.

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?

There is a single parameter at 100% schema coverage, where the schema already documents the op_... id format, so the baseline of 3 applies. The description only implies the id must be pre-known; it adds no semantics beyond the schema.

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?

Names a specific verb and resource ('Read one deal in full') and enumerates exactly what comes back: fields, dossier, counts, and the 5 newest interactions. That payload list separates it cleanly from list_opportunities and list_interactions without opening any schema.

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?

States the precondition ('when you hold a deal's id'), the intent ('need where it stands before you act or answer'), and two explicit alternatives with the condition that selects each: list_interactions for full bodies, list_opportunities when the id is unknown. Nothing is left to inference.

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