Skip to main content
Glama

Get a contact

flow_get_contact
Read-only

One contact by id, with its groups and whether it opted out; an opted-out contact also carries optOut: who opted it out (source self or admin), how (mechanism) and when, and its link in the portal. Marketing campaigns skip opted-out contacts. A transactional campaign still reaches a contact who opted out themselves (not one blocked by an admin), and messages sent through the API or as tests do not check the blocklist.

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

Input Schema

NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, but the description adds substantial context beyond them: the returned payload includes groups and opt-out status, and optOut carries source (self/admin), mechanism, timestamp, and a portal link. It also explains the real-world consequence of the flag for marketing, transactional, API, and test messages, which is genuinely useful interpretation guidance. It omits lookup failure behavior for an unknown id, which keeps it from a 5.

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 definition is front-loaded with what is returned and the opt-out detail before the campaign semantics. It is dense but largely earns its length, since the campaign sentences explain what optOut actually means. The final sentence about API and test messages is the most tangential, but still tied to interpreting the opt-out flag.

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?

With no output schema, the description carries the burden of describing return values and does so thoroughly (contact fields, groups, opt-out, optOut sub-object with link). For a single-id read tool this is close to complete; only error/not-found behavior and the shape of group entries are unaddressed.

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?

The single `id` parameter has 0% schema description coverage, so the description must carry the load; it only says 'by id', which confirms the id identifies a contact but does not specify the id type or source (numeric contact id, where to obtain it). For a one-parameter tool this is the minimum viable, so a 3 is appropriate.

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 opens with a specific verb+resource and scope: 'One contact by id, with its groups and whether it opted out.' It also enumerates the returned opt-out sub-fields, so the agent knows exactly what the call yields. It does not name a sibling to contrast with (e.g., flow_update_contact or the import tools), so differentiation is implicit rather than explicit.

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

Usage Guidelines2/5

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

There is no statement of when to call this versus alternatives such as flow_update_contact or flow_list_* tools, nor any prerequisites or exclusions. The trailing sentences about marketing vs transactional campaigns describe downstream send behavior, not when an agent should invoke this tool. The only implied use case is checking a contact's opt-out state, which the agent must infer.

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