Skip to main content
Glama

Get merchant status

get_merchant_status
Read-onlyIdempotent

[Admin] Get a merchant status snapshot: credit balances, subscription, pending-work counts, candidate/result totals, and invitation headroom.

Every argument in full, with examples: get_tool_reference.

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_merchant_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
llm_modelNoYour model id, e.g. "claude-opus-4-8"; "unknown" if unsure. For analytics.
merchant_idNoOptional merchant to scope to. Admins and sub-merchant operators only; other callers always use their token's merchant.
conversation_idNoThe conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.

Output Schema

NameRequiredDescriptionDefault
candidatesYes
profile_idYes
tasks_openNo
merchant_idYes
invitations_sentYes
_mcp_instructionsNoServer-issued metadata for this conversation.
interview_resultsYes
invitations_limitYes
subscription_typeYes
candidates_historyYes
definitions_activeYes
duplicates_pendingNo
interviews_ongoingYes
default_merchant_idYes
subscription_statusYes
interviews_undecidedYes
contact_requests_openYes
invitations_availableYes
credits_interview_extraYes
credits_interview_singleYes
interview_result_historyYes
credits_interview_monthlyYes
document_requests_pendingNo
interviews_without_creditsYes
credits_interview_monthly_limitYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed50 schema fields changed
    • addedInput schema / properties / llm_model
      Added value: +{
      +  "description": "Your model id, e.g. \"claude-opus-4-8\"; \"unknown\" if unsure. For analytics.",
      +  "type": "string"
      +}
    • removedInput schema / properties / merchant_id / example
      Removed value: -"28106cba-1c27-4e53-b149-32113e5e8e31"
    • removedOutput schema / properties / candidates / description
      Removed value: -"Total candidates (non-archived profile_interview rows) for the merchant."
    • removedOutput schema / properties / candidates / example
      Removed value: -212
    • removedOutput schema / properties / candidates_history / description
      Removed value: -"Daily new-candidate counts for the last 14 days, most recent first."
    • removedOutput schema / properties / candidates_history / example
      Removed value: -[
      -  3,
      -  5,
      -  0,
      -  2,
      -  8,
      -  1,
      -  0,
      -  4,
      -  6,
      -  2,
      -  1,
      -  0,
      -  3,
      -  5
      -]
    • removedOutput schema / properties / contact_requests_open / description
      Removed value: -"Open contact requests from candidates (candidate_contact_request with status open)."
    • removedOutput schema / properties / contact_requests_open / example
      Removed value: -1
    • removedOutput schema / properties / credits_interview_extra / description
      Removed value: -"Extra (top-up) interview credits available on top of the monthly allowance."
    • removedOutput schema / properties / credits_interview_extra / example
      Removed value: -25
    • removedOutput schema / properties / credits_interview_monthly / description
      Removed value: -"Remaining monthly interview credits."
    • removedOutput schema / properties / credits_interview_monthly / example
      Removed value: -8
    • removedOutput schema / properties / credits_interview_monthly_limit / description
      Removed value: -"Monthly interview-credit allowance for the current plan."
    • removedOutput schema / properties / credits_interview_monthly_limit / example
      Removed value: -10
    • removedOutput schema / properties / credits_interview_single / description
      Removed value: -"Single-position interview credits available."
    • removedOutput schema / properties / credits_interview_single / example
      Removed value: -0
    • removedOutput schema / properties / default_merchant_id / description
      Removed value: -"The caller's home merchant id pinned in the JWT (app_metadata.merchant_id). Null if the token carries no merchant."
    • removedOutput schema / properties / default_merchant_id / example
      Removed value: -"28106cba-1c27-4e53-b149-32113e5e8e31"
    • removedOutput schema / properties / definitions_active / description
      Removed value: -"Count of active interview + position definitions."
    • removedOutput schema / properties / definitions_active / example
      Removed value: -4
    • removedOutput schema / properties / document_requests_pending / description
      Removed value: -"Your own document requests that need you: received and not reviewed yet, or open past their due date (at most 50 are counted). Present while the document_requests switch is on."
    • removedOutput schema / properties / document_requests_pending / example
      Removed value: -2
    • removedOutput schema / properties / duplicates_pending / description
      Removed value: -"Possible duplicate candidate pairs waiting for a decision (status open) that you can see. Present while the duplicate_detection switch is on."
    • removedOutput schema / properties / duplicates_pending / example
      Removed value: -3
    • removedOutput schema / properties / interview_result_history / description
      Removed value: -"Daily new-interview-result counts for the last 14 days, most recent first."
    • removedOutput schema / properties / interview_result_history / example
      Removed value: -[
      -  1,
      -  2,
      -  0,
      -  1,
      -  3,
      -  0,
      -  0,
      -  2,
      -  1,
      -  1,
      -  0,
      -  0,
      -  1,
      -  2
      -]
    • removedOutput schema / properties / interview_results / description
      Removed value: -"Total non-archived interview results for the merchant."
    • removedOutput schema / properties / interview_results / example
      Removed value: -137
    • removedOutput schema / properties / interviews_ongoing / description
      Removed value: -"Interviews currently in progress (coach_status = started)."
    • removedOutput schema / properties / interviews_ongoing / example
      Removed value: -1
    • removedOutput schema / properties / interviews_undecided / description
      Removed value: -"Completed interviews awaiting a recruiter decision."
    • removedOutput schema / properties / interviews_undecided / example
      Removed value: -3
    • removedOutput schema / properties / interviews_without_credits / description
      Removed value: -"Completed interviews that have not yet consumed a credit."
    • removedOutput schema / properties / interviews_without_credits / example
      Removed value: -2
    • removedOutput schema / properties / invitations_available / description
      Removed value: -"Remaining invitations this period. Null for unlimited (Special) plans."
    • removedOutput schema / properties / invitations_available / example
      Removed value: -22
    • removedOutput schema / properties / invitations_limit / description
      Removed value: -"Maximum invitations allowed this period (4x available credits). Null for unlimited (Special) plans."
    • removedOutput schema / properties / invitations_limit / example
      Removed value: -40
    • removedOutput schema / properties / invitations_sent / description
      Removed value: -"Interview invitations sent during the current subscription period."
    • removedOutput schema / properties / invitations_sent / example
      Removed value: -18
    • removedOutput schema / properties / merchant_id / description
      Removed value: -"The merchant this status is scoped to — the default_merchant_id unless an admin / sub-merchant operator overrode it via the merchant_id query param."
    • removedOutput schema / properties / merchant_id / example
      Removed value: -"28106cba-1c27-4e53-b149-32113e5e8e31"
    • removedOutput schema / properties / profile_id / description
      Removed value: -"The calling user's profile id (auth user id), taken from the JWT."
    • removedOutput schema / properties / profile_id / example
      Removed value: -"9b2c1e54-7a3d-4f8e-9c10-2b6a4d5e7f01"
    • removedOutput schema / properties / subscription_status / description
      Removed value: -"Subscription status (e.g. active, past_due, canceled). Null when no subscription."
    • removedOutput schema / properties / subscription_status / example
      Removed value: -"active"
    • removedOutput schema / properties / subscription_type / description
      Removed value: -"Subscription plan name (e.g. Free, Starter, Growth, Special)."
    • removedOutput schema / properties / subscription_type / example
      Removed value: -"Growth"
    • removedOutput schema / properties / tasks_open / description
      Removed value: -"Your own open tasks (merchant_task assigned to you, status open). Present while the tasks switch is on."
    • removedOutput schema / properties / tasks_open / example
      Removed value: -4
  2. Changed6 schema fields changed
    • removedOutput schema / additionalProperties
      Removed value: -{}
    • addedOutput schema / properties / contact_requests_open
      Added value: +{
      +  "description": "Open contact requests from candidates (candidate_contact_request with status open).",
      +  "example": 1,
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / document_requests_pending
      Added value: +{
      +  "description": "Your own document requests that need you: received and not reviewed yet, or open past their due date (at most 50 are counted). Present while the document_requests switch is on.",
      +  "example": 2,
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / duplicates_pending
      Added value: +{
      +  "description": "Possible duplicate candidate pairs waiting for a decision (status open) that you can see. Present while the duplicate_detection switch is on.",
      +  "example": 3,
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / tasks_open
      Added value: +{
      +  "description": "Your own open tasks (merchant_task assigned to you, status open). Present while the tasks switch is on.",
      +  "example": 4,
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "profile_id",
      -  "default_merchant_id",
      -  "merchant_id",
      -  "credits_interview_monthly",
      -  "credits_interview_monthly_limit",
      -  "credits_interview_extra",
      -  "credits_interview_single",
      -  "definitions_active",
      -  "interviews_without_credits",
      -  "interviews_undecided",
      -  "interviews_ongoing",
      -  "interview_results",
      -  "candidates",
      -  "candidates_history",
      -  "interview_result_history",
      -  "subscription_type",
      -  "subscription_status",
      -  "invitations_sent",
      -  "invitations_limit",
      -  "invitations_available"
      -]New value: +[
      +  "profile_id",
      +  "default_merchant_id",
      +  "merchant_id",
      +  "credits_interview_monthly",
      +  "credits_interview_monthly_limit",
      +  "credits_interview_extra",
      +  "credits_interview_single",
      +  "definitions_active",
      +  "interviews_without_credits",
      +  "interviews_undecided",
      +  "contact_requests_open",
      +  "interviews_ongoing",
      +  "interview_results",
      +  "candidates",
      +  "candidates_history",
      +  "interview_result_history",
      +  "subscription_type",
      +  "subscription_status",
      +  "invitations_sent",
      +  "invitations_limit",
      +  "invitations_available"
      +]
  3. Changed1 schema field changed
    • changedInput schema / properties / conversation_id / description
      Previous value: -"Pass the exact conversation_id from the server's previous response, unchanged. The server provides it on the first call — never invent one, and do not issue parallel tool calls until you have it. Keep passing the same conversation_id for the rest of the conversation, including after later user messages or on a different task; do not reset it when the user starts a new request."New value: +"The conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics."
  4. Changed1 schema field changed
    • changedInput schema / properties / conversation_id / description
      Previous value: -"Echo the conversation_id from the server's previous response. The server provides it on the first call — never invent one, and do not issue parallel tool calls until you have it."New value: +"Pass the exact conversation_id from the server's previous response, unchanged. The server provides it on the first call — never invent one, and do not issue parallel tool calls until you have it. Keep passing the same conversation_id for the rest of the conversation, including after later user messages or on a different task; do not reset it when the user starts a new request."
  5. Changed2 schema fields changed
    • addedInput schema / properties / conversation_id
      Added value: +{
      +  "description": "Echo the conversation_id from the server's previous response. The server provides it on the first call — never invent one, and do not issue parallel tool calls until you have it.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / _mcp_instructions
      Added value: +{
      +  "description": "Server-issued metadata for this conversation.",
      +  "properties": {
      +    "conversation_id": {
      +      "description": "The server-issued conversation identifier.",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  6. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is fully covered structurally. The description contributes the admin-only access caveat, which is real added context beyond annotations. It says nothing about aggregation freshness, page limits, or whether counts are eventually consistent — the kind of behavioral detail a snapshot tool would benefit from.

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?

Two sentences, front-loaded with the payload summary, with the required empty-parameter reassurance second. The pointer to get_tool_reference is a cheap sentence that could have been folded into a clause, but nothing is padded.

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?

An output schema exists, so return values need not be explained, and the schema fully documents parameters and the merchant-scoping rule. Annotations cover safety. What remains thin is guidance on choosing this over other status-gathering calls, but for a single read-only snapshot tool the definition is complete enough to invoke correctly.

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 description coverage is 100%, so all three parameters (llm_model, merchant_id, conversation_id) are already documented in the schema, including the admin scoping rule. The description only says "Every argument in full, with examples: get_tool_reference," which defers rather than adds meaning. Baseline 3 applies when the schema carries the load.

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?

States a specific verb and resource ("Get a merchant status snapshot") and enumerates the returned dimensions: credit balances, subscription, pending-work counts, candidate/result totals, invitation headroom. That is far more specific than the title alone. It does not distinguish itself from any sibling, which is minor given the siblings listed are largely unrelated resource getters.

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

Usage Guidelines3/5

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

The "[Admin]" prefix implies the caller class this tool is for, and the schema notes admins and sub-merchant operators may scope with merchant_id. There is no explicit statement of when to prefer this over other status or listing tools, and no exclusions, so usage is only implied.

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.