Skip to main content
Glama

Check Connection

whoami
Read-onlyIdempotent

Who this token is. Returns me: the token's id and label, its scopes (which tools it can use), when it was created and last used, the Revnu account it belongs to, inSetup while onboarding is unfinished (then call setup_status), and its configured rate limits, which are capacities, not remaining balances. Needs no scope.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
meYesConnected business, token permissions and rate limits.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed22 schema fields changed
    • addedOutput schema / properties / me / properties / account / description
      Added value: +"The business this connection operates on."
    • addedOutput schema / properties / me / properties / account / properties / id / description
      Added value: +"Revnu business account ID that owns this token."
    • addedOutput schema / properties / me / properties / account / properties / name / description
      Added value: +"Business display name, or null before one is known."
    • changedOutput schema / properties / me / properties / createdAt / description
      Previous value: -"Unix epoch milliseconds."New value: +"When this token was issued, as Unix epoch milliseconds."
    • addedOutput schema / properties / me / properties / inSetup / description
      Added value: +"True while onboarding is incomplete. Call setup_status for the exact next step."
    • addedOutput schema / properties / me / properties / label / description
      Added value: +"Human-readable name assigned to this token or connected app."
    • changedOutput schema / properties / me / properties / lastUsedAt / description
      Previous value: -"Unix epoch milliseconds."New value: +"Most recently recorded use as Unix epoch milliseconds, updated at minute granularity; null before any recorded use."
    • addedOutput schema / properties / me / properties / limits / description
      Added value: +"Configured rate-limit capacities, not remaining request balances. An HTTP 429 response supplies Retry-After."
    • addedOutput schema / properties / me / properties / limits / properties / account / description
      Added value: +"Shared request allowance across this business's tokens."
    • addedOutput schema / properties / me / properties / limits / properties / account / properties / burst / description
      Added value: +"Maximum requests accepted in a burst."
    • addedOutput schema / properties / me / properties / limits / properties / account / properties / perMinute / description
      Added value: +"Configured request rate per minute."
    • addedOutput schema / properties / me / properties / limits / properties / messages / description
      Added value: +"Agent-message allowance for this token."
    • addedOutput schema / properties / me / properties / limits / properties / messages / properties / burst / description
      Added value: +"Maximum requests accepted in a burst."
    • addedOutput schema / properties / me / properties / limits / properties / messages / properties / perMinute / description
      Added value: +"Configured request rate per minute."
    • addedOutput schema / properties / me / properties / limits / properties / reads / description
      Added value: +"Read-request allowance for this token."
    • addedOutput schema / properties / me / properties / limits / properties / reads / properties / burst / description
      Added value: +"Maximum requests accepted in a burst."
    • addedOutput schema / properties / me / properties / limits / properties / reads / properties / perMinute / description
      Added value: +"Configured request rate per minute."
    • addedOutput schema / properties / me / properties / limits / properties / writes / description
      Added value: +"Write-request allowance for this token."
    • addedOutput schema / properties / me / properties / limits / properties / writes / properties / burst / description
      Added value: +"Maximum requests accepted in a burst."
    • addedOutput schema / properties / me / properties / limits / properties / writes / properties / perMinute / description
      Added value: +"Configured request rate per minute."
    • addedOutput schema / properties / me / properties / scopes / description
      Added value: +"Permissions granted to this token. A missing scope does not mean the business lacks that capability."
    • addedOutput schema / properties / me / properties / tokenId / description
      Added value: +"Identifier of this access token, not its secret bearer value."
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": true,
      +  "properties": {
      +    "me": {
      +      "additionalProperties": false,
      +      "description": "Connected business, token permissions and rate limits.",
      +      "properties": {
      +        "account": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "id": {
      +              "type": "string"
      +            },
      +            "name": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            }
      +          },
      +          "required": [
      +            "id",
      +            "name"
      +          ],
      +          "type": "object"
      +        },
      +        "createdAt": {
      +          "description": "Unix epoch milliseconds.",
      +          "type": "number"
      +        },
      +        "inSetup": {
      +          "type": "boolean"
      +        },
      +        "label": {
      +          "type": "string"
      +        },
      +        "lastUsedAt": {
      +          "description": "Unix epoch milliseconds.",
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "limits": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "account": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "burst": {
      +                  "type": "number"
      +                },
      +                "perMinute": {
      +                  "type": "number"
      +                }
      +              },
      +              "required": [
      +                "perMinute",
      +                "burst"
      +              ],
      +              "type": "object"
      +            },
      +            "messages": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "burst": {
      +                  "type": "number"
      +                },
      +                "perMinute": {
      +                  "type": "number"
      +                }
      +              },
      +              "required": [
      +                "perMinute",
      +                "burst"
      +              ],
      +              "type": "object"
      +            },
      +            "reads": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "burst": {
      +                  "type": "number"
      +                },
      +                "perMinute": {
      +                  "type": "number"
      +                }
      +              },
      +              "required": [
      +                "perMinute",
      +                "burst"
      +              ],
      +              "type": "object"
      +            },
      +            "writes": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "burst": {
      +                  "type": "number"
      +                },
      +                "perMinute": {
      +                  "type": "number"
      +                }
      +              },
      +              "required": [
      +                "perMinute",
      +                "burst"
      +              ],
      +              "type": "object"
      +            }
      +          },
      +          "required": [
      +            "reads",
      +            "writes",
      +            "messages",
      +            "account"
      +          ],
      +          "type": "object"
      +        },
      +        "scopes": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "tokenId": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "tokenId",
      +        "label",
      +        "scopes",
      +        "createdAt",
      +        "lastUsedAt",
      +        "account",
      +        "limits"
      +      ],
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "me"
      +  ],
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), yet the description still adds genuine context: the token's scopes map to which tools it may call, and the `limits` values are capacities rather than remaining balances — a misfire that would otherwise be likely. The remaining content enumerates return fields, which the existing output schema already carries.

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?

A single front-loaded sentence that leads with the identity answer and then enumerates the payload, with the setup_status handoff placed inline where it matters. It is dense but not padded; the only mild waste is re-listing fields the output schema defines.

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 zero-parameter, read-only, output-schema-backed tool this covers what an agent needs: what comes back, what the scopes and limits mean, and the onboarding branch. The only gap is no explicit disambiguation from identity-adjacent siblings.

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?

Zero parameters, so the baseline is 4. The one meaningful addition, 'Needs no scope,' tells the agent the call will not be refused for authorization reasons, which is useful operational context beyond an empty 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?

Opens with a specific, unambiguous statement of what it does — returns the identity of the presenting token — and immediately names the payload key (`me`). An agent can tell this is a credential-introspection tool 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 Guidelines4/5

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

Gives two concrete usage facts: it needs no scope, and when `inSetup` is true the agent should call `setup_status` instead/next. This is real conditional routing. It stops short of stating when to prefer it over a sibling like `agent_status`, so it is not a full when/when-not guide.

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