Skip to main content
Glama

Get account state

get_account_state
Read-onlyIdempotent

Use when the user mentions a company, a domain or a person you may have contacted ("what's up with Acme?", "I'm writing to jane@acme.com today"). One call returns the whole picture: temperature (hot|warm|cold|quiet) with trend and the reasons in plain sentences, people with last activity, offers with engagement level and how far they were read, the latest reply with its classification, whether the company is suppressed, a suggested next step (follow_up|call|wait|none) and a link to the company in the app. Pass exactly one of domain or email. 404 when the workspace has no such company.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_account_state"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailNoEmail address of a person at the company.
domainNoCompany domain, e.g. acme.com (a URL is fine, it is normalized).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world, non-destructive, so the safety profile is free. The description adds substantive behavior beyond that: the exactly-one-of input contract, the 404 failure mode when the workspace has no such company, and an enumeration of what the response contains including enum-like values for temperature and next step.

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?

Front-loaded with the triggering condition, then the payload, then the input contract and error case — a logical order. The long enumeration of return fields is dense but each item earns its place since there is no output schema; only the parenthetical example utterances border on padding.

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?

With no output schema, the description carries the full burden of describing return values and does so field by field (temperature with trend and reasons, people with last activity, offers with read depth, latest reply classification, suppression flag, suggested next step, app link). Combined with the 404 case and input constraint, an agent has everything needed to call and interpret it.

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 100%, so 3 is the baseline, but the description adds a real constraint absent from the schema: "Pass exactly one of domain or email" — the schema has no required fields and no oneOf, so this mutual-exclusivity rule is new information. It also confirms the schema's note that URLs are normalized.

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?

Specific verb and resource: "One call returns the whole picture" of temperature, people, offers, latest reply, suppression, and next step for a company. It clearly distinguishes itself as an aggregate account-state lookup rather than a single-entity fetch, though it never names the closest sibling (get_company) as the alternative for narrower lookups.

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 explicit trigger conditions with concrete user utterances ("what's up with Acme?", "I'm writing to jane@acme.com today"), which is strong when-to-use guidance. It omits when *not* to use it in favor of narrower siblings, but no exclusion is required for correct invocation.

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.