Skip to main content
Glama

pachca_get_personal_chat

Resolve a user ID to the personal chat ID needed for direct messages. Use it before sending a DM to ensure the message targets the correct user conversation.

Instructions

Resolve a user ID to their personal (DM) chat ID. Use this before sending a direct message to a user.

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

Input Schema

NameRequiredDescriptionDefault
idYesUser ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.1

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden. 'Resolve' plus the sequencing advice implies a non-mutating lookup, which is useful, but it never says whether resolving creates a DM chat when none exists, what happens for an invalid or bot user ID, or whether any permission scope is required — all material for an agent calling it blindly.

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, zero filler, with the operation front-loaded and the usage constraint second. Nothing could be removed without losing information.

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 one-parameter lookup with no output schema, the description successfully states the return value conceptually (the personal chat ID), which is what an agent needs. The remaining gap is the creation-on-demand/error behavior, which is the one thing that could cause a wrong assumption in a send-message flow.

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 already carries 'User ID'. The description reinforces that the input is a user ID rather than a chat ID, which is genuinely helpful disambiguation, but adds no format, type, or edge-case detail beyond the schema. Baseline 3 applies.

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?

States a specific verb (resolve) and the exact mapping performed: a user ID in, a personal/DM chat ID out. That mapping is distinct from siblings like pachca_get_chat or pachca_get_user, which operate on a chat ID or return a user profile, so an agent can pick this tool without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit trigger and ordering constraint: 'Use this before sending a direct message to a user.' That is clear when-to-use guidance tied to the downstream sibling pachca_send_message. It does not state when not to use it or name an alternative for the case where the chat ID is already known, so it stops short of a 5.

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