Skip to main content
Glama

Toofi Dental Planning MCP

Claim paid agent API key

claim_agent_checkout_key
Read-onlyIdempotent

After Stripe Checkout is paid, exchange the purchase id and one-time claim token for the Toofi agent API key used as X-Toofi-Agent-Key or agent_key.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agent_idNoCalling agent identifier.
clinic_idNoClinic identifier for mandate-scoped production execution.
intent_idNoRoot agent intent id.
mandate_idNoClinic or agent mandate id. Optional in public demo mode.
request_idNoIdempotency and correlation id echoed in Toofi responses.
claim_tokenYesOne-time claim token returned by create_agent_checkout_session.
purchase_idYesPurchase id returned by create_agent_checkout_session.
principal_idNoHuman or clinic principal on whose behalf the agent acts.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okNo
modeNo
statusNo
endpointNo
timestampNo

TDQS

A3.8/5.0
Behavior1/5

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

The description describes a state-changing operation ('exchange', 'claim'), which contradicts the readOnlyHint=true annotation. Claiming a one-time token inherently consumes it, so the annotation is misleading. This is an annotation contradiction, warranting a score of 1.

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 a single, front-loaded sentence that immediately conveys the action, condition, and inputs without wasted words. Every phrase contributes meaning.

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

Completeness4/5

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

The description provides the essential steps and outcome, and an output schema exists to explain return values. However, it could have mentioned that the claim token is consumed (which would also flag the contradiction) and any failure modes, but given the output schema, this is not a major gap.

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

Parameters4/5

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

The schema covers all 8 parameters with descriptions, but the description adds value by explicitly identifying purchase_id and claim_token as the key exchange inputs and mentioning the resulting key usage ('X-Toofi-Agent-Key or agent_key'). This goes beyond the schema's 'returned by create_agent_checkout_session' notes.

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 a specific action ('exchange the purchase id and one-time claim token for the Toofi agent API key') with a clear resource (the API key) and precondition (after Stripe Checkout is paid). This distinguishes it from sibling tools like create_agent_checkout_session, which creates the session that this tool claims.

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

Usage Guidelines4/5

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

It explicitly states the timing ('After Stripe Checkout is paid') and the required inputs (purchase id and claim token), which implies this is used as the second step after create_agent_checkout_session. It does not explicitly mention alternatives or when not to use it, but the context is clear.

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.

TDQS

B3.3/5.0
Disambiguation3/5

Several tools have overlapping purposes, particularly example_en, example_pl, example_ru, example_sk, example_ua, example_uk, and get_example_result, which all return example PDFs. Also, example_ua and example_uk are explicitly aliases for the same Ukrainian example, creating direct ambiguity. Core clinical tools are distinct, but the example/demo cluster muddies the boundary.

Naming Consistency4/5

Most tools follow a snake_case verb_noun pattern (e.g., list_patients, create_agent_checkout_session, generate_price_estimate), but a few deviations exist: example_en/pl/ru/sk/ua/uk lack a verb prefix, and get_example_result seems to duplicate example_en. The 'pano' abbreviation in start_pano_markup is also slightly inconsistent. Overall, the pattern is mostly predictable.

Tool Count2/5

With 32 tools, the count is too high for the apparent scope of dental planning. Many tools are redundant example/demo variants (e.g., 6 language-specific example tools plus get_example_result, and multiple demo getters/listers). This bloat suggests the tool set could be consolidated to a more focused 15-20 tools without losing core functionality.

Completeness3/5

The core workflow is covered: generating plans, retrieving patients/plans, pricing, and billing. However, there are notable gaps such as no update or delete operations for plans or patients, no create patient tool, and no way to modify pricing beyond import_price_csv. The demo tools partially compensate by offering sample data, but the production lifecycle is incomplete.

Resources