Skip to main content
Glama

Perpetuus CRM

Get Contact

crm_get_contact
Read-onlyIdempotent

Fetch one contact by Strapi documentId, including owner, team and custom fields when returned by the CRM.

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": "crm_get_contact"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesStrapi documentId.

Output Schema

NameRequiredDescriptionDefault
okYesAlways true on success; errors come with isError and no structuredContent.
dataYes
metaYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "data": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": true,
      +          "properties": {
      +            "data": {
      +              "anyOf": [
      +                {
      +                  "additionalProperties": true,
      +                  "properties": {
      +                    "createdAt": {
      +                      "$ref": "#/properties/data/anyOf/0/properties/data/anyOf/0/properties/name"
      +                    },
      +                    "customFields": {
      +                      "description": "Custom field values keyed by field slug."
      +                    },
      +                    "documentId": {
      +                      "description": "Strapi documentId (use it in other tools).",
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "email": {
      +                      "$ref": "#/properties/data/anyOf/0/properties/data/anyOf/0/properties/name"
      +                    },
      +                    "id": {
      +                      "anyOf": [
      +                        {
      +                          "type": [
      +                            "string",
      +                            "number"
      +                          ]
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ]
      +                    },
      +                    "name": {
      +                      "$ref": "#/properties/data/anyOf/0/properties/data/anyOf/0/properties/documentId"
      +                    },
      +                    "owner": {},
      +                    "phone": {
      +                      "$ref": "#/properties/data/anyOf/0/properties/data/anyOf/0/properties/name"
      +                    },
      +                    "team": {},
      +                    "updatedAt": {
      +                      "$ref": "#/properties/data/anyOf/0/properties/data/anyOf/0/properties/name"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "description": "The contact."
      +            },
      +            "meta": {}
      +          },
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "meta": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "organizationDocumentId": {
      +          "description": "Organization documentId resolved from the credential.",
      +          "type": "string"
      +        },
      +        "requestId": {
      +          "description": "Request id (x-request-id or generated by the MCP server).",
      +          "type": "string"
      +        },
      +        "source": {
      +          "const": "perpetuus-crm-mcp",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "requestId",
      +        "source"
      +      ],
      +      "type": "object"
      +    },
      +    "ok": {
      +      "const": true,
      +      "description": "Always true on success; errors come with isError and no structuredContent.",
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "ok",
      +    "data",
      +    "meta"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so the safety profile is covered elsewhere. The description contributes the nuance that owner, team and custom fields are only present "when returned by the CRM", hinting at conditionally populated fields, but says nothing about error behavior for a missing or malformed documentId.

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?

One sentence, front-loaded with the action and the lookup key, with zero redundant framing. Nothing could be removed without losing content.

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 a single-parameter, read-only getter with full annotation coverage, an output schema, and complete parameter documentation, this is nearly sufficient. The only meaningful gap is that an agent gets no guidance on what to do when it lacks a documentId.

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% and the single parameter is already documented as "Strapi documentId" with a pattern and length bounds. The description repeats that label without adding format examples, lookup behavior, or how to obtain a documentId, so the baseline of 3 applies.

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 names a specific verb and resource ("Fetch one contact") and pins the retrieval key to the Strapi documentId, which clearly separates it from the surrounding list_contact_* tools. It stops short of naming a sibling alternative explicitly, so it is clear but not fully differentiated.

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 implied by the singular "one contact by Strapi documentId": an agent should call it when it already holds an identifier. There is no statement of when not to use it (e.g. to search by name or email) and no pointer to a list/search tool for that case.

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.