Skip to main content
Glama

Toofi Dental Planning MCP

Create agent checkout session

create_agent_checkout_session
Read-onlyIdempotent

Create a real Stripe Checkout session for buying Toofi internal credits. Returns a claim token so the agent can retrieve its key after payment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
emailNoAlias for owner_email.
unitsNo
agent_idNoCalling agent identifier.
quote_idNoQuote id from get_agent_billing_quote.
clinic_idNoClinic identifier for mandate-scoped production execution.
intent_idNoRoot agent intent id.
tool_nameNoTool name if quote_id is not supplied.
mandate_idNoClinic or agent mandate id. Optional in public demo mode.
product_idNoOptional Toofi credit-pack product id. Defaults to the public agent credit pack.
request_idNoIdempotency and correlation id echoed in Toofi responses.
return_urlNoAgent/client return URL after checkout.
owner_emailNoEmail used for receipt and backup delivery after Stripe payment.
principal_idNoHuman or clinic principal on whose behalf the agent acts.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okNo
modeNo
statusNo
endpointNo
timestampNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / owner_email / description
      Previous value: -"Email that receives the Toofi agent API key after Stripe payment."New value: +"Email used for receipt and backup delivery after Stripe payment."
  2. Changed3 schema fields changed
    • addedInput schema / properties / email
      Added value: +{
      +  "description": "Alias for owner_email.",
      +  "type": "string"
      +}
    • addedInput schema / properties / owner_email
      Added value: +{
      +  "description": "Email that receives the Toofi agent API key after Stripe payment.",
      +  "type": "string"
      +}
    • addedInput schema / properties / product_id
      Added value: +{
      +  "description": "Optional Toofi credit-pack product id. Defaults to the public agent credit pack.",
      +  "type": "string"
      +}
  3. First observed

TDQS

B3.3/5.0
Behavior1/5

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

Annotation contradiction: The description says 'Create a real Stripe Checkout session', implying a state-changing write operation, but the annotations declare readOnlyHint=true. This is a serious inconsistency, making the tool's behavior misleading. The description does not add any additional context about side effects, payment authorizations, or idempotency beyond the contradictory annotation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two concise sentences, front-loaded with the core action and outcome. Every word earns its place; no fluff or repetition. This is an example of efficient, high-signal writing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description covers the primary purpose and return value, but with 13 parameters and no required fields, more context is needed about the typical flow (e.g., prerequisite of obtaining a quote_id, relationship to claim_agent_checkout_key). The output schema exists, so return details are not required, but the description is minimal and does not fully guide an agent on how to invoke the tool correctly in a broader workflow.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema provides descriptions for 92% of parameters, including details like quote_id from get_agent_billing_quote and mandate_id for scoped production. The description adds no extra parameter-level meaning beyond the schema. Baseline of 3 is appropriate given high schema coverage.

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?

The description clearly states the tool's action: creating a real Stripe Checkout session for buying Toofi internal credits. It includes the resource (Stripe Checkout session) and the specific outcome (returns a claim token for later key retrieval). This distinguishes it from sibling tools like claim_agent_checkout_key and get_agent_billing_quote.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies a sequence (get quote -> create checkout -> claim key) but doesn't explicitly state when to use this tool vs alternatives. No exclusions or alternative tool names are mentioned. The purpose is clear, but the 'when to use' context is only inferred, not stated.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources