Skip to main content
Glama

Find a contact's phone

findPhone
DestructiveIdempotent

Looks up a mobile phone number for one pipeline contact, by contact id from getPipeline, and saves a found number to it. Costs 1 credit, kept only when a phone is found; otherwise it is returned. It runs in the background and ends within 3 minutes, so the answer is usually queued. getPhoneLookup returns its result. A contact that already has a phone is not charged. One lookup per contact; retry_of_attempt_id, a failed attempt's attempt_id with can_retry true, allows one more. Not every workspace has phone lookup; a refusal charges nothing. Retrying with the same idempotencyKey and input returns the first result instead of repeating the action.

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": {
      "params": "<params>",
      "body": "<body>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "findPhone"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes
paramsYes
idempotencyKeyYesA unique key for this action. Reuse it only to retry the same call with the same input; use a new key for a new action.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare mutation, idempotency and open-world scope, but the description adds far more: 1-credit cost that is kept only on success and returned otherwise, no charge when the contact already has a phone, no charge on workspace refusal, background execution finishing within 3 minutes, a queued answer, and one lookup per contact. It also explains the idempotencyKey replay contract. The write behavior ('saves a found number') is consistent with readOnlyHint=false and destructiveHint=true.

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 core action and cost model are front-loaded, and each subsequent sentence carries distinct operational facts (background timing, result retrieval, no-charge cases, retry, workspace availability, idempotency). It is dense but slightly sprawling at six sentences, with the idempotency sentence overlapping the schema's own idempotencyKey description.

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?

There is no output schema, and the description compensates by naming getPhoneLookup as the retrieval path and explaining that the answer is usually queued due to background execution. Cost, failure, retry, and availability edge cases are all covered, leaving no material gap for a nested-body, three-parameter mutation tool.

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 33%, so the description must carry weight and it does: it explains that params.id comes from getPipeline, that body.retry_of_attempt_id is a failed attempt's attempt_id paired with can_retry true and permits exactly one retry, and it restates the idempotency replay rule. Only the id field's UUID format and the key pattern/length limits are left to the schema, which is the correct division.

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 first sentence names a specific verb (looks up), a specific resource (a mobile phone number for one pipeline contact) and a mutation side effect (saves a found number to it), scoped to a contact id sourced from getPipeline. It is clearly distinguishable from getPhoneLookup, which the description names as the result-fetching sibling, and from getPipeline, which is the id source.

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 states the prerequisite (contact id from getPipeline), the follow-up path (getPhoneLookup returns its result), the retry condition (retry_of_attempt_id from a failed attempt with can_retry true, one more attempt only), and a hard exclusion (not every workspace has phone lookup). An agent knows exactly when to call this and when to call a sibling.

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