Skip to main content
Glama

Amberflo MCP by usefulapi

Assign customer plan

amberflo_assign_customer_plan
Destructive

WRITE: assign/attach a pricing product plan to a customer — this changes what the customer is billed. API: POST /payments/pricing/amberflo/customer-pricing.

Input Schema

NameRequiredDescriptionDefault
product_idNoProduct id the plan belongs to.
customer_idYesThe Amberflo customerId to assign the plan to.
product_plan_idYesThe productPlanId of the plan to assign.
end_time_in_secondsNoWhen the plan ends, unix epoch seconds.
start_time_in_secondsNoWhen the plan takes effect, unix epoch seconds.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations only supply destructiveHint=true; the description adds the concrete consequence 'changes what the customer is billed' and the underlying API endpoint, which is useful beyond the hint. However it omits prerequisites, whether an existing plan is replaced or prorated, and any idempotency/permission behavior for a destructive write.

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?

A single front-loaded sentence leading with 'WRITE:' plus a short API reference; every element earns its place and the mutation nature is visible at a glance.

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?

For a destructive write with no output schema, the description covers purpose and impact but leaves prerequisite and side-effect questions (plan replacement semantics, effective-date defaults) unaddressed, so it is adequate rather than complete.

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?

Schema description coverage is 100%, so all five parameters (including the optional product_id and start/end times) are already documented in the schema. The description adds no parameter-level detail, so the baseline 3 applies.

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?

States a specific verb (assign/attach) and resource (pricing product plan to a customer) and immediately conveys the consequence: 'this changes what the customer is billed.' That distinguishes it clearly from the read-oriented siblings like amberflo_get_customer_plan and amberflo_list_customer_plan_history.

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

Usage Guidelines2/5

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

The 'WRITE:' prefix hints at the mutation context, but there is no explicit when-to-use guidance or routing to alternatives (e.g., 'use get_customer_plan to inspect the current assignment first'). Nothing tells the agent when this is the right tool versus other plan-related siblings.

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.