Skip to main content
Glama
Sequenzy MCP Server

Sequenzy MCP Server

Official
by Sequenzy

get_account_by_external_id

Read-onlyIdempotent

Retrieve a customer organization by its external ID, including up to 100 member contacts and their roles, to look up customer accounts using your app's identifier.

Instructions

Get one customer organization (Subscribers > Organizations in the dashboard) by its external ID, including up to 100 member contacts with their roles (owner, admin, member). Not your Sequenzy account: use get_account for that.

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": {
      "externalId": "<externalId>"
    },
    "name": "get_account_by_external_id"
  }
}

Input Schema

NameRequiredDescriptionDefault
companyIdNoCompany ID. If not provided, uses the currently selected company.
externalIdYesCustomer-owned account (organization/workspace) ID, e.g. the org id in your app.

Output Schema

NameRequiredDescriptionDefault
noteNoAdditional context about the result.
itemsNoFallback array wrapper used only when a tool returns a bare array.
valueNoFallback object wrapper used only when a tool returns a non-object value.
accountNoThe account record returned by Sequenzy.
membersNoMembers with subscriberId, email, externalId, role, firstName, lastName and status.
messageNoHuman-readable status, confirmation, or next-step message.
successNoWhether the Sequenzy operation succeeded.
warningsNoNon-fatal cautions about content, permissions, or follow-up actions.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world, so the safety profile is covered; the description adds useful scope detail that the response is capped at 100 member contacts and includes role labels. It does not say what happens when the external ID is unknown, which is the one behavioral gap left.

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 waste, with the primary action and the disambiguation both front-loaded. Every clause carries 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 read-only single-record getter with an output schema and fully documented parameters, this is nearly complete. The only missing piece is the not-found/error behavior, which the agent would otherwise have to discover at call time.

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 coverage is 100% and both parameters are already documented, including that externalId is a customer-owned org ID and companyId defaults to the current selection. The description restates that the lookup key is an external ID but adds no format examples or fallback behavior beyond the schema.

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 and resource ('Get one customer organization ... by its external ID'), scopes the response ('including up to 100 member contacts with their roles'), and explicitly distinguishes itself from get_account. An agent can identify it 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 Guidelines5/5

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

Names the most likely confusion point and the alternative to use instead ('Not your Sequenzy account: use get_account for that'), with the condition that selects each. The external-ID key is implied as the selection criterion by the tool's purpose.

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

Deploy Server

Other Tools