Skip to main content
Glama

get_account_users

Retrieve all users associated with your Offorte Proposal Software account to manage team access and permissions.

Instructions

Lists all account users for the current account

Input Schema

NameRequiredDescriptionDefault

No arguments

Input Schema (JSON Schema)

{ "properties": {}, "type": "object" }

Implementation Reference

  • The execute handler function for the 'get_account_users' tool. It performs a GET request to '/account/users', parses the response using accountUsersSchema, and returns the stringified data or throws an error if invalid.
    async execute() { const result = await get('/account/users'); const parsed = accountUsersSchema.safeParse(result); if (!parsed.success) { throwApiInvalidResponseError(parsed.error); } return JSON.stringify(parsed.data); },
  • Zod schemas for account user and array of users, used to validate the API response in the tool handler.
    export const accountUserSchema = z .object({ id: z.number(), email: z.string(), firstname: z.string(), lastname: z.string(), phone: z.string(), jobtitle: z.string(), date_lastlogin: z.string(), }) .passthrough(); export const accountUsersSchema = z.array(accountUserSchema);
  • The getAccountUsersTool is imported and added to the tools array (line 21, relative to block), then all tools are registered on the FastMCP server using registerTools function.
    const tools = [ getInitialContextTool, getAccountUsersTool, getAutomationSetsTool, getContactDetailsTool, getDesignTemplatesTool, getEmailTemplatesTool, getProposalDirectoriesTool, getProposalTemplatesTool, getTextTemplatesTool, searchContactOrganisationsTool, searchContactPeopleTool, searchProposalsTool, createContactTool, createProposalTool, sendProposalTool, ]; export function registerTools({ server }: { server: FastMCP }) { (tools as unknown as FastMCPTool<Record<string, unknown>, ToolParameters>[]).map(initialContextGuard).forEach((tool) => server.addTool(tool)); }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/offorte/offorte-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server