Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Checkprojectslugavailability
PHOTON_MCP_CHECK_PROJECT_SLUG_AVAILABILITYCheck project slug availability Reports whether createProject would accept `slug` right now. Advisory: only the create itself allocates, so a caller must still handle SLUG_TAKEN. A malformed slug is rejected on shape; a reserved slug, a slug held by an active project, and a slug retired with a deleted project each answer `available: false` with a reason.
Countfilteredverificationcodes
PHOTON_MCP_COUNT_FILTERED_VERIFICATION_CODESCount filtered verification codes Counts the verification codes Photon kept from this project's dedicated lines and numbers, optionally for one `platform`. Without `receivedAfter` and `receivedBefore` the window is the 30 days before the request; a window longer than 366 days is rejected. The response echoes the window it resolved, so the number always says which period it covers. Requires the platforms:read permission bound to the project resource in the path.
Countmessages
PHOTON_MCP_COUNT_MESSAGESCount Messages Counts matching Messages before pagination. Delivery updates do not add Messages; results are eventually consistent.
Countprojects
PHOTON_MCP_COUNT_PROJECTSCount projects Counts the projects the same filter would list. The count is read from the primary, so it is authoritative rather than replica-lagged.
Countresourcefilteredverificationcodes
PHOTON_MCP_COUNT_RESOURCE_FILTERED_VERIFICATION_CODESCount a line's filtered verification codes Counts the verification codes Photon kept from one dedicated line or number. Without `receivedAfter` and `receivedBefore` the window is the 30 days before the request; a window longer than 366 days is rejected. The response echoes the window it resolved, so the number always says which period it covers. Answers 404 unless the project holds the resource now. Codes from an earlier tenure stay in the project-wide list. Filter by `platform` — a number receives both SMS and WhatsApp. Requires the platforms:read permission bound to the project resource in the path.
Countspaces
PHOTON_MCP_COUNT_SPACESCount Spaces Counts distinct Spaces matching the list filters; multiple matching Messages count once. Results are eventually consistent.
Countusers
PHOTON_MCP_COUNT_USERSCount Users Counts distinct Users matching the list filters, including incoming senders or outgoing recipients selected by Message filters. Results are eventually consistent.
Getaccount
PHOTON_MCP_GET_ACCOUNTGet account Returns the profile of the authenticated account. The account is selected from the credential rather than a request parameter. A missing or deleted account is reported as an error instead of an empty profile.
Getagentprofile
PHOTON_MCP_GET_AGENT_PROFILEGet agent profile Returns the agent profile belonging to the identified project. The profile is project-scoped and is distinct from the authenticated account's personal profile. Use the dedicated avatar operations when uploading or removing an agent avatar.
Getattachment
PHOTON_MCP_GET_ATTACHMENTGet attachment Returns an Attachment's metadata. Use the content endpoint to download its bytes.
Getbillingoperation
PHOTON_MCP_GET_BILLING_OPERATIONGet billing operation Returns the authoritative state of a billing operation belonging to the selected project. Use it to recover or poll a plan-change request until the operation reaches success or failure. An accepted request is not evidence that the plan change has completed.
Getbillingoverview
PHOTON_MCP_GET_BILLING_OVERVIEWGet project billing overview Returns the selected project's plan information, entitlements and current billing-period usage. This operation reads project billing state; it does not change plans or the payer's payment method. Organization-level plans are available through the organization billing overview.
Getcurrentorganization
PHOTON_MCP_GET_CURRENT_ORGANIZATIONRead the credential's organization Reads the organization the credential is bound to: the organization an OAuth grant was consented for, or a Service Identity's own organization. Use it to discover which organization an integration acts for, and pass its organizationId to organization-scoped operations.
Getdefaultvoiceprofile
PHOTON_MCP_GET_DEFAULT_VOICE_PROFILEGet default Voice profile Gets the profile currently selected as the project default, including its optional inbound delivery state. Requires platforms:read bound to the path project.
Geteffectiveterms
PHOTON_MCP_GET_EFFECTIVE_TERMSGet the project's effective billing terms Returns what the selected project is billed on now, per category it holds: the plan as its subscription has it, with any override applied, each fixed charge at the subscription's price and quantity, and resolved entitlements; where the plan comes from; how invoices are paid; the current period and next billing date; and any downgrade or cancellation waiting for the period end. Supply both organizationId and projectId; the organization must pay for the project. This operation does not change billing.
Getemaildeliverymetrics
PHOTON_MCP_GET_EMAIL_DELIVERY_METRICSGet email delivery metrics Reads cached supplementary email series for the exact Project and rolling day or week. Coverage is eligible single-recipient messages; multi-recipient and simulator traffic is excluded. Observed complaints include reported feedback only. Missing data is distinct from zero. Original timestamps and availability are preserved; freshness describes retrieval, not complete event coverage. These series are not complete recipient totals, billing totals or Photon reputation rates. This read never queries the delivery provider or authorizes sending. Requires platforms:read for the path Project.
Getemailsendingpolicies
PHOTON_MCP_GET_EMAIL_SENDING_POLICIESGet email sending policies Reads Organization email recipient allowances shared across all its Projects, with rolling 60-second and 24-hour windows. Also returns Project and Organization review status and Photon policy pauses. Projects have no separate recipient quota. These limits are independent of subscription allowances. A policy pause blocks sending; an unpaused policy does not guarantee that every domain, suppression or account check permits a send. Requires platforms:read for the path Project.
Getmessage
PHOTON_MCP_GET_MESSAGEGet a Message Returns one stored Message by canonical Photon Message ID on any supported contract platform. The globally unique Message ID is resolved within the authorized Project. Unsupported platform Messages are outside this collection and return MESSAGE_NOT_FOUND.
Getmessagemetricsbackfill
PHOTON_MCP_GET_MESSAGE_METRICS_BACKFILLGet metrics backfill status Returns historical metrics update progress. Completion reflects lastVerifiedAt; queries remain available during updates.
Getmessagemetricssqlschema
PHOTON_MCP_GET_MESSAGE_METRICS_SQL_SCHEMAGet metrics SQL schema Returns the message_events and call_events SQL schema, supported queries, and limits for the selected API version.