Skip to main content
Glama

Get activity

get_activity
Read-only

Fetch one CRM activity in the selected workspace by activity id, including type, due date, completion state, assignee and linked entity. Use list_activities first when you only know the related lead/deal/contact.

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": {
      "id": "<id>"
    },
    "name": "get_activity"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe activity id returned by list_activities.

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. Changed1 schema field changed
    • changedInput schema / properties / id / description
      Previous value: -"The activity id returned by the matching search/list tool."New value: +"The activity id returned by list_activities."
  3. Changed1 schema field changed
    • addedInput schema / properties / id / description
      Added value: +"The activity id returned by the matching search/list tool."
  4. Added

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 the description's 'Fetch' aligns with those. The description adds useful behavioral context by listing the fields returned (type, due date, completion state, assignee, linked entity), which is especially valuable given 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, each earning its place. The first sentence defines the tool's function and output scope; the second provides actionable usage guidance. No filler or redundancy.

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 simple read-by-id tool with one parameter and good annotations, the description covers the key aspects: what it fetches, the source of the id, and the alternative when the id isn't known. The listed fields mitigate the lack of an output schema.

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 has one parameter with 100% description coverage, and the description reinforces the meaning by saying 'by activity id' and that it is 'returned by list_activities.' This adds a concrete source for the id, going beyond the schema's bare description.

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 clearly states 'Fetch one CRM activity... by activity id' with a specific verb, resource, and scope. It also distinguishes itself from the sibling tool 'list_activities' by emphasizing single-activity retrieval, and the example note reinforces differentiation.

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?

Provides explicit guidance: 'Use list_activities first when you only know the related lead/deal/contact.' This tells the agent when to use this tool vs. the alternative, and implies this tool is for when the activity id is already known.

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