Skip to main content
TagManifest /Docs Dashboard

account_status

Read-only MCP tool that returns the caller's account identity, the page where keys are managed, and key-recovery steps.

On this page 6

Summary

  • tool — account_status
  • purpose — returns the caller's account identity, the account page URL, and key-recovery steps; runs no scan
  • rest equivalent — none (MCP only)
  • rate limit — 1000/day per user
  • synchronous — yes (reads the credential; no scan)

Returns a read-only snapshot of the authenticated caller's account: the email and user ID the credential belongs to, the page where API keys are managed, and what to do when a key is lost. It reads the credential only — no URL, no GTM container, no fetch.

TOOLaccount_status

When to use it

Use account_status when an agent needs to confirm which account it is connected as, or when the user asks how to manage or replace an API key. It does not report how much of a rate limit is left. MCP responses carry no rate-limit headers; the X-RateLimit-* headers on REST responses show the remaining count (see Rate limits).

Arguments

account_status takes no arguments. It reports on whichever credential authenticated the request. Any arguments sent are ignored.

Returns

An object describing the caller's account.

FieldTypeMeaning
emailstring or nullThe account's email. null when the credential carries no email, which is always the case for a tm_ API key.
user_idstringThe account's user ID.
manage_urlstringThe account page, where API keys are created and revoked.
docs_urlstringThe getting-started guide.
recoverystringPlain-language steps for replacing a lost key.
{
  "email": "you@example.com",
  "user_id": "3f1c9a52-0000-4000-8000-000000000000",
  "manage_url": "https://developer.tagmanifest.com/account/",
  "docs_url": "https://developer.tagmanifest.com/getting-started/",
  "recovery": "If you lose your API key, sign in at the manage_url, revoke the lost key, and mint a new one. The new key replaces the old one immediately — no grace period."
}

Errors

  • Bad arguments cannot happen here. The tool takes no arguments and ignores any that are sent.
  • A tool failure would come back as a normal tool result with isError: true and a message in the text block. The tool only reads the credential, so this is not expected.
  • Rate limit comes back as a JSON-RPC error with code -32603 and the message Rate limit exceeded for account_status: 1001/1000. Resets at <time>. The HTTP status is 200. MCP responses carry no X-RateLimit-* headers. The limit resets at midnight UTC.
  • A missing or invalid credential is an HTTP 401 on the request, as for every tool.

Try saying

Natural-language prompts that route to this tool through an agent:

  • "Which account is the TagManifest connector using?"
  • "I lost my TagManifest API key. What do I do?"
  • "Where do I manage my TagManifest keys?"

For agents wired to your own application:

You have access to TagManifest's MCP server. Use the account_status
tool to confirm which account the connection belongs to, or when the
user asks about managing or replacing an API key. It takes no
arguments and returns the account email and user ID, the account
page URL, and key-recovery steps.

See also

  • Rate limits — daily caps by tool and the X-RateLimit-* headers on REST responses
  • Authentication — the two credential types: tm_ API keys and OAuth sign-in
  • Account page — sign in with Google to create and revoke API keys

Examples

MCP tool call
{
  "tool": "account_status",
  "arguments": {}
}
200 — result
{
  "email": "you@example.com",
  "user_id": "3f1c9a52-0000-4000-8000-000000000000",
  "manage_url": "https://developer.tagmanifest.com/account/",
  "docs_url": "https://developer.tagmanifest.com/getting-started/",
  "recovery": "If you lose your API key, sign in at the manage_url, revoke the lost key, and mint a new one. The new key replaces the old one immediately — no grace period."
}