Skip to main content
Glama
Paxaver MCP Server

Paxaver MCP Server

Official

Get My Context

get_my_context
Read-only

Retrieves the signed-in user's Paxaver account context, including identity, school role, guardian students, assistant mode, and wallet permissions, so tools can resolve required IDs and permissions.

Instructions

Read-only lookup with no side effects - safe to call repeatedly. Requires authentication: returns only the caller's own context (never another user's data): first name, sign-in account email, account region, server environment, active school, the students they are a guardian for, their role codes at that school, the assistant mode (parent or child), and whether the account allows assistants to pay from its wallet. This is the context-discovery call - most other tools need a student_id or school_slug from here, admin-role checks come from roles, email/region/environment answer which account is signed in, and assistantMode/assistantWalletSpend tell the model what it may do. A child credential reports assistantMode 'child', only the bound student, no email or roles, and assistantWalletSpend false. Returns live account state, so call again if the user may have switched schools or had roles changed.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
emailNoSign-in account email (the caller's own)
rolesNoRole codes the user holds at the active school
regionNoRegion of the signed-in account
studentsNoStudents the user is guardian for (id, firstName, schoolSlug)
firstNameNoUser first name
schoolNameNoActive school display name
schoolSlugNoActive school slug
environmentNoServer environment - production, or dev for staging and development
assistantModeNoAssistant mode - 'parent' for the account holder, 'child' for a read-only child credential
assistantWalletSpendNoWhether the account allows assistants to pay from its wallet; false means drafts must be paid in the Paxaver app

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.7.8
    • addedOutput schema / properties / assistantMode
      Added value: +{
      +  "description": "Assistant mode - 'parent' for the account holder, 'child' for a read-only child credential",
      +  "enum": [
      +    "parent",
      +    "child"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / assistantWalletSpend
      Added value: +{
      +  "description": "Whether the account allows assistants to pay from its wallet; false means drafts must be paid in the Paxaver app",
      +  "type": "boolean"
      +}
  2. Changed3 schema fields changedv2.7.7
    • addedOutput schema / properties / email
      Added value: +{
      +  "description": "Sign-in account email (the caller's own)",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / environment
      Added value: +{
      +  "description": "Server environment - production, or dev for staging and development",
      +  "enum": [
      +    "production",
      +    "dev"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / region
      Added value: +{
      +  "description": "Region of the signed-in account",
      +  "enum": [
      +    "CA",
      +    "US",
      +    "MX",
      +    null
      +  ],
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  3. Addedv2.5.1

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnlyHint and destructiveHint=false, but the description adds substantial context: it explicitly states 'safe to call repeatedly', that authentication is required, that results are scoped strictly to the caller ('never another user's data'), and how a child credential degrades the response (assistantMode 'child', bound student only, no email or roles, walletSpend false). Those are behavioral traits an agent cannot get from the annotations.

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 safety and auth guarantees before the field inventory, and every sentence carries information the agent needs for routing or interpretation. It is a single dense block with heavy colon/parenthesis nesting, which makes it slightly harder to scan than a cleanly bulleted specification.

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?

For a zero-parameter, authenticated, read-only context tool with an output schema, this is complete: it covers auth requirements, data-scoping, the child-credential edge case, and staleness/refresh. It explains why the field values matter to downstream tools so the agent knows to retain and reuse them.

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?

There are zero parameters, so the baseline is 4 and there is no parameter meaning the description needs to add. It instead spends its space on the response semantics (what roles, assistantMode, and assistantWalletSpend mean downstream), which is useful but not parameter guidance.

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 ('read-only lookup' of 'the caller's own context') and then enumerates the returned contents: first name, email, region, environment, active school, guardian students, role codes, assistant mode, wallet-spend flag. Crucially it differentiates itself from siblings by explaining that 'most other tools need a student_id or school_slug from here', so an agent can tell this is the prerequisite discovery call rather than another data reader.

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 when-to-use context: 'This is the context-discovery call', that other tools depend on its student_id/school_slug, and that other tools' admin-role checks derive from 'roles'. It also gives a re-call condition ('call again if the user may have switched schools or had roles changed'). It stops short of an explicit when-not-to-use or naming a competing sibling, which keeps it from a 5.

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