Tools and prompts

Every tool and prompt the onefold MCP server offers an AI client, grouped by area, with how calls are authorized, paged and reported when they fail.

The platform MCP server offers your AI client a set of tools and a few prompts. Your client lists them after it connects. This page lists them too, generated from the server's own registry.

How a call is authorized

Every one of these must allow a call:

  1. The connection's scope. A tool marked Read needs developer:read; a tool marked Write needs developer:write. A read-only connection is not shown the write tools at all.
  2. Its grant: what it may do (Read, Write, or both) and where it reaches, chosen at consent or when its credential was created.
  3. Your permissions on the application or organization the call touches, or for an organization agent its role's. A connection never reaches more than you do.
  4. Ownership, for the tools marked owner only.

See Scopes and permissions.

Tools

Applications

ToolWhat it doesAccess
create_applicationRegister a new applicationWrite
delete_applicationDelete an applicationWrite, owner only
get_applicationRead one applicationRead
get_application_rolesWhich roles reach an applicationRead
get_application_transferRead where an application's transfer request standsRead
get_application_usageRead an application's live usageRead
get_install_linkRead an application's sign-in linkRead
list_applicationsList your applicationsRead
rotate_application_secretRotate an application's client secretWrite
start_test_flowStart a test sign-in for an applicationWrite
update_applicationChange an application's settingsWrite
upload_application_logoUpload an application's logoWrite

Integration and review

ToolWhat it doesAccess
get_integration_settingsRead what a client needs to integrate with an applicationRead
review_application_configurationReview an application's sign-in configurationRead

Webhooks

ToolWhat it doesAccess
create_webhook_endpointRegister a webhook endpointWrite
delete_webhook_endpointDelete a webhook endpointWrite
get_webhook_queue_healthCheck whether an application's webhook queue is movingRead
list_webhook_deliveriesList recent webhook deliveriesRead
list_webhook_endpointsList an application's webhook endpointsRead
replay_webhook_deliveryRe-send a past webhook deliveryWrite
rotate_webhook_secretRegenerate a webhook signing secretWrite
send_test_webhookSend a test eventWrite
update_webhook_endpointChange a webhook endpointWrite

API keys

ToolWhat it doesAccess
create_api_keyMint an API keyWrite
create_organization_api_keyMint an organization API keyWrite
get_api_key_request_summarySummarise what an API key has been used forRead
get_organization_api_key_request_summarySummarise what an organization API key has been used forRead
list_api_key_requestsRead what an API key has been used forRead
list_api_keysList an application's API keysRead
list_organization_api_key_requestsRead what an organization API key has been used forRead
list_organization_api_keysList an organization's API keysRead
revoke_api_keyRevoke an API keyWrite
revoke_organization_api_keyRevoke an organization API keyWrite
rotate_api_keyRotate an API keyWrite
rotate_organization_api_keyRotate an organization API keyWrite
update_api_keyRename, re-scope or re-date an API keyWrite
update_organization_api_keyRename, re-scope or re-date an organization API keyWrite

Agents

ToolWhat it doesAccess
create_agentCreate an agentWrite
create_agent_credentialAdd a credential to an agentWrite
get_agentRead one agentRead
list_application_agentsList an application's agentsRead
list_organization_agentsList an organization's agentsRead
revoke_agentRevoke an agentWrite
revoke_agent_credentialRevoke an agent's credentialWrite
set_agent_bindingReplace what a credential reachesWrite
set_agent_permissionsReplace a credential's permissionsWrite
set_agent_roleChange the role an agent acts asWrite

Branding

ToolWhat it doesAccess
get_brandingRead an application's sign-in brandingRead
update_brandingChange an application's sign-in brandingWrite

Sign-in design

ToolWhat it doesAccess
get_organization_designRead an organization's shared sign-in lookRead
get_sign_in_designRead how an application's sign-in page is arrangedRead
set_sign_in_design_follows_organizationMake an application follow, or leave, its organization's sign-in lookWrite
update_organization_designChange an organization's shared sign-in lookWrite
update_sign_in_designChange how an application's sign-in page is arranged and wordedWrite
upload_faviconSet the browser-tab icon of an application's sign-in pagesWrite
upload_organization_sign_in_backgroundSet an image as a background in an organization's shared sign-in lookWrite
upload_sign_in_backgroundSet an image as a sign-in page backgroundWrite

Sign-up questions

ToolWhat it doesAccess
create_signup_fieldAdd a sign-up questionWrite
create_signup_stepAdd a titled step to a sign-up formWrite
delete_signup_fieldRemove a sign-up questionWrite
delete_signup_stepRemove a sign-up stepWrite
list_signup_fieldsList an application's sign-up questionsRead
reorder_signup_fieldsReorder one sign-up form's questionsWrite
reorder_signup_stepsReorder one sign-up form's stepsWrite
restore_confirm_passwordPut the confirm-password box back on the sign-up formWrite
restore_signup_fieldRestore a retired sign-up questionWrite
update_signup_fieldChange a sign-up questionWrite
update_signup_stepChange a sign-up stepWrite

Application email

ToolWhat it doesAccess
get_email_analyticsCount an application's email over a windowRead
get_email_deliveryRead an application's own mail serverRead
get_email_delivery_diagnosticsRead how an application's mail is being deliveredRead
get_email_overviewRead an application's email wording and designRead
preview_emailPreview an email as it is sent nowRead
remove_email_deliveryRemove an application's own mail serverWrite
reset_email_templateStop using wording of its own for an emailWrite
save_email_designChange the design every email sharesWrite
save_email_templateWrite an email's wordingWrite
send_email_delivery_testSend a sample message through an application's mail serverWrite
send_test_emailSend an email to yourself as a testWrite
set_email_deliveryConfigure an application's own mail serverWrite
set_email_delivery_enabledTurn an application's own mail server on or offWrite
verify_email_deliveryCheck an application's mail serverWrite

Dashboard branding

ToolWhat it doesAccess
get_dashboard_brandingRead how an application's dashboard is brandedRead
get_organization_dashboard_brandingRead how an organization's dashboard is brandedRead
set_dashboard_branding_follows_organizationMake an application's dashboard follow its organization's brandingWrite
update_dashboard_brandingChange how an application's dashboard is brandedWrite
update_organization_dashboard_brandingChange how an organization's dashboard is brandedWrite
upload_dashboard_imageUpload an application dashboard's logo or tab iconWrite
upload_organization_dashboard_imageUpload an organization dashboard's logo or tab iconWrite

Protected resources

ToolWhat it doesAccess
list_protected_resourcesList an application's protected resourcesRead
register_protected_resourceRegister a protected resourceWrite
remove_protected_resourceRemove a protected resourceWrite
verify_protected_resourceVerify a protected resourceWrite

Social providers

ToolWhat it doesAccess
list_organization_social_providersList an organization's shared social sign-in credentialsRead
list_social_providersList an application's social sign-in providersRead
set_organization_social_providerSet an organization's shared social provider credentialsWrite
set_social_providerSet a social provider's credentialsWrite
set_social_provider_follows_organizationUse the Organization's credentials for one social providerWrite

Custom domains

ToolWhat it doesAccess
claim_custom_domainClaim a custom domainWrite
claim_organization_domainClaim a dashboard domain for an organizationWrite
get_custom_domainRead an application's custom domainRead
get_organization_domainRead an organization's dashboard domainRead
remove_custom_domainRemove a custom domainWrite
remove_organization_domainRemove an organization's dashboard domainWrite
verify_custom_domainVerify a claimed custom domainWrite
verify_organization_domainVerify an organization's dashboard domainWrite

Your users

ToolWhat it doesAccess
block_userBlock one person on an application or its whole organizationWrite
get_authorized_userLook up one person who has authorized an applicationRead
get_authorized_user_activityRead one person's recent activity with an applicationRead
get_organization_userLook up one person across an organization's applicationsRead
get_organization_user_activityRead one person's recent activity across an organization's applicationsRead
get_user_metadataRead the metadata your application keeps on one personRead
invite_application_userInvite somebody to an applicationWrite
list_application_accessList who an application admits or refusesRead
list_application_invitationsList an application's pending invitationsRead
list_authorized_usersList the people who have authorized an applicationRead
list_former_usersList the people who authorized an application and no longer doRead
list_organization_former_usersList the people who left all of an organization's applicationsRead
list_organization_usersList the people who use an organization's applicationsRead
list_profile_movesList the profile moves an organization asked forRead
revoke_application_inviteWithdraw a pending invitation to an applicationWrite
revoke_authorized_user_grantRevoke one person's grant to an applicationWrite
set_user_metadataReplace the metadata your application keeps on one personWrite
unblock_userLift a block on one personWrite
withdraw_profile_moveWithdraw a profile move an organization asked forWrite

Analytics

ToolWhat it doesAccess
get_application_analyticsSummarise how an application is being usedRead
get_organization_analyticsSummarise how an organization's applications are being usedRead

Activity

ToolWhat it doesAccess
list_application_activityList what has been done to an applicationRead

Organizations

ToolWhat it doesAccess
create_organizationCreate an organizationWrite
create_organization_roleDefine a role in an organizationWrite
delete_organization_roleDelete a roleWrite
get_organizationRead one organizationRead
get_organization_applications_usageWhat every application in an organization is allowed and usingRead
get_organization_healthWebhook and API-key health across an organizationRead
get_organization_overviewRead an organization's overview figuresRead
invite_organization_memberInvite somebody to an organizationWrite
list_incoming_application_transfersList application transfers waiting for an organization's ownerRead
list_organization_activityWhat changed in an organization, and who changed itRead
list_organization_activity_facetsWhich actions and actors appear in an organization's activityRead
list_organization_membersList an organization's membersRead
list_organization_rolesList an organization's rolesRead
list_organizationsList your organizationsRead
remove_organization_memberRemove somebody from an organizationWrite
reorder_organization_rolesReorder an organization's rolesWrite
resend_organization_inviteSend a pending invitation againWrite
revoke_organization_inviteWithdraw a pending invitationWrite
set_organization_member_rolesSet which roles an organization member holdsWrite
set_role_application_overrideChange what a role says about one applicationWrite
update_organizationRename an organizationWrite
update_organization_roleChange a roleWrite
upload_organization_logoUpload an organization's logoWrite

Your invitations and memberships

ToolWhat it doesAccess
accept_invitationAccept an invitation addressed to youWrite
leave_organizationLeave an organizationWrite
list_my_invitationsList the invitations addressed to youRead

Changes you approve

ToolWhat it doesAccess
get_approval_requestRead where an approval request standsRead
request_approvalAsk the person to approve a changeWrite

Profiles

ToolWhat it doesAccess
create_profile_fieldAdd a custom profile fieldWrite
get_application_profile_narrowingRead an application's narrowing of its organization's profile fieldsRead
get_profile_field_grantsRead which applications reach a custom profile fieldRead
get_profile_fieldsRead an organization's profile fieldsRead
reorder_profile_fieldsReorder the custom profile fieldsWrite
restore_profile_fieldRestore a retired custom profile fieldWrite
retire_profile_fieldRetire a custom profile fieldWrite
set_application_profile_narrowingNarrow an application's profile fieldsWrite
set_profile_core_fieldHide, show or require a built-in profile fieldWrite
set_profile_field_grantsSet which applications reach a custom profile fieldWrite
set_profile_hosted_pageTurn the hosted account page on or offWrite
set_profile_sectionShow or hide a section of the profile workspaceWrite
update_profile_fieldChange a custom profile fieldWrite

Security policy

ToolWhat it doesAccess
get_application_security_policyRead how an application tightens its organization's security policyRead
get_application_security_policy_impactPreview what an application credential lifetime cap would doRead
get_organization_registration_policyRead an organization's default registration policyRead
get_registration_policyRead who may sign up to an applicationRead
get_security_policyRead an organization's security policyRead
get_security_policy_impactPreview what an organization credential lifetime cap would doRead
set_organization_registration_policySet an organization's default registration policyWrite
set_registration_policySet who may sign up to an applicationWrite

Plan limits

ToolWhat it doesAccess
get_billing_period_usageRead an application's active users this billing periodRead
get_entitlementsRead an application's plan limitsRead
get_organization_subscriptionRead an organization's subscriptionRead
get_subscriptionRead an application's subscriptionRead

What you do in the portal

ToolWhat it doesAccess
how_do_iFind out how the person does something no tool doesRead
list_portal_only_actionsList what the person does in the portal rather than through a toolRead

Where to start

  • list_applications finds what you can reach.
  • get_integration_settings returns the issuer, the endpoints, the client ID, the redirect URIs and the environment variables a project needs. Call it before writing sign-in code.
  • review_application_configuration returns findings about an application's setup, each with a severity and a fix.

Tools that reach your users

The Your users tools return only what each person disclosed to the application. A person who granted openid alone appears as an ID and nothing else, and so does a person the application admits who has not authorized it. A pending invitation shows the address invited and the member who sent it, never the link. Sign-in activity carries an approximate country, region and city and a kind of device, never an IP address. The location is an estimate and can be wrong.

What these tools change is who may use the application: revoking a person's grant, blocking a person on the application or its whole organization and lifting a block, and inviting an address or withdrawing an invitation. A blocked person is told by email, and the block is recorded as made through the agent. The Security policy tools also set who may sign up, for one application or as the organization's default. An organization agent blocks a person on one application, never on the whole organization, and does not invite people.

A read-only connection can still read your users. Read-only means it changes nothing.

Tools that manage API keys

An organization API key reaches every application of its organization, including ones created later. An agent creates, rotates or re-dates one only when its grant reaches every application of the organization and the permission behind each of the key's scopes is held at organization level. A key an agent creates expires no later than the credential that created it and the organization's lifetime cap, and it is revoked when that agent or credential is.

Tools that manage agents

The Agents tools are offered to a connection you made by signing in, never to an organization agent. A connection changes only the organization agents it created itself: never itself, and never an agent a person made or another person's connection. Each one it creates acts as a role the person behind the connection may assign.

A created agent never exceeds its creator. Every permission, scope and application added to it must be inside the connection's own grant at that moment, and anything beyond it is refused rather than trimmed. Narrowing the connection afterwards does not narrow the agents it created; disconnecting it revokes them.

Creating, rotating and revoking API keys needs the Manage API keys opt-in, and managing agents needs Manage agents. Neither comes with an access choice; see Opt-ins on top of Write.

Images

The upload tools set a logo, a favicon, a sign-in background or a dashboard image. The image travels inside the call as base64 in image_base64, with a filename whose extension names the type: PNG, JPEG, WebP or GIF. No tool fetches an image from a URL. A call carries at most about 1.8 MB of image, whatever your plan allows; a larger file is uploaded in the portal. The plan's own limit per file and the same checks as a portal upload apply too.

User metadata

get_user_metadata and set_user_metadata read and replace the metadata your application keeps on one person who authorized it. They need the Read and write user metadata opt-in.

Your own invitations and organizations

The Your invitations and memberships tools act on you rather than on an application: they list the invitations sent to your verified email address, accept one, and leave an organization you belong to. They are offered to a connection you made by signing in, never to an organization agent.

When an agent needs you

A change the portal asks you to verify, or one that changes what you pay, goes through request_approval: the agent gives you a link and you approve it. See Changes you approve.

For anything no tool does, how_do_i returns the steps and the portal link for you to do it yourself, and a refused call carries the same steps. See What you do in the portal.

What no tool does

  • Read or change an account: a password, an email address, sessions, second factors or passkeys.
  • Read back a secret. A client secret, API key or webhook signing secret is returned only by the call that creates or rotates it.
  • Create a credential for the client itself.
  • Make a change that needs your verification, or one that moves money, without your approval.

Prompts

A prompt is a prepared instruction that tells your AI agent which tools to use and in what order. Your client lists them for you to pick from. A prompt can do nothing the tools cannot.

PromptWhat it doesArguments
audit_application_configurationAudit an application's authentication setupapplication_id
debug_oauth_callbackDebug a failing OAuth callbackapplication_id, error (optional)
debug_user_sign_inDebug why a user cannot sign inapplication_id, user
set_up_authenticationSet up authentication in this projectframework, redirect_uri (optional)

Long lists

Lists are returned a page at a time. A result with a next_cursor has more: pass it back as cursor. A next_cursor of null is the last page.

When a call fails

A failed tool call still returns HTTP 200. Only problems found before the request body is read get an HTTP error status: a missing or refused credential (401), or the rate limit (429). Everything after that, including a permission you lack, comes back as 200.

There are two failure shapes:

ShapeMeaningWhat to read
A result with isError: trueThe tool ran and refused, or failedIts text holds {"error": {"code": …, "detail": …}}. Branch on code; detail is for display.
A JSON-RPC error instead of a resultThe request itself was invalid: an unknown method or bad parametersThe JSON-RPC error

Check for result first, then read isError inside it.

Limits

A connection may make 60 requests a minute. Past that the server answers 429.

What is recorded

Every change an agent makes appears on the application's Activity tab, marked as made by an agent. Each agent's card on the Agents tab shows when its credentials were last used. The arguments of a call are never stored.

Transport

The server speaks MCP over Streamable HTTP at https://onefold.eitozx.com/api/mcp. It is stateless, accepts POST, and answers with JSON. It supports the current protocol revision (2026-07-28) and earlier ones. It is not part of the HTTP API and does not appear in the API reference.

On this page