Skip to main content
Glama

get_account_users

List 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

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The execute method of the getAccountUsersTool that sends a GET request to '/account/users', validates the response against accountUsersSchema, throws an error if invalid, and returns the JSON string of the parsed data.
    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 schema definitions for account users: accountUserSchema for individual user objects and accountUsersSchema as an array of them, used for validating the API response.
    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);
  • Registers the getAccountUsersTool by importing it, including it in the tools array, and adding all tools to the FastMCP server instance.
    import { getAccountUsersTool } from './account/get-users.js'; import { getContactDetailsTool } from './contacts/get-contact-details.js'; import { searchContactOrganisationsTool } from './contacts/search-contact-organisations.js'; import { searchContactPeopleTool } from './contacts/search-contact-people.js'; import { createContactTool } from './contacts/create-contact.js'; import { searchProposalsTool } from './proposals/search-proposals.js'; import { getProposalDirectoriesTool } from './proposals/get-proposal-directories.js'; import { createProposalTool } from './proposals/create-proposal.js'; import { sendProposalTool } from './proposals/send-proposal.js'; 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