MCP Capabilities
Tools 4
complaint_service_get_complaint
Description: Fetch a single complaint by its numeric id, including status, classification, related production orders and record counts.
Handler: Shapeways\Deprecated\ComplaintService\Mcp\ComplaintServiceTools::getComplaint()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
id |
integer | Yes | - | The numeric id of the complaint. |
Full Schema
| array(3) { ["type"]=> string(6) "object" ["properties"]=> array(1) { ["id"]=> array(3) { ["type"]=> string(7) "integer" ["description"]=> string(32) "The numeric id of the complaint." ["minimum"]=> int(1) } } ["required"]=> array(1) { [0]=> string(2) "id" } } |
complaint_service_search_complaints
Description: Search complaints by any combination of status, order id, manufacturer id, complaint type or root cause. Returns lightweight summaries.
Handler: Shapeways\Deprecated\ComplaintService\Mcp\ComplaintServiceTools::searchComplaints()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
statusId |
integer | No |
|
Filter by status id (see the statuses resource). |
orderId |
integer | No |
|
Filter by the original order id. |
manufacturerId |
integer | No |
|
Filter by manufacturer id. |
complaintTypeId |
integer | No |
|
Filter by complaint type id. |
rootCauseId |
integer | No |
|
Filter by root cause id. |
limit |
integer | No |
20
|
Maximum number of complaints to return (1-100). |
Full Schema
| array(2) { ["type"]=> string(6) "object" ["properties"]=> array(6) { ["statusId"]=> array(4) { ["type"]=> string(7) "integer" ["default"]=> NULL ["description"]=> string(48) "Filter by status id (see the statuses resource)." ["minimum"]=> int(1) } ["orderId"]=> array(4) { ["type"]=> string(7) "integer" ["default"]=> NULL ["description"]=> string(32) "Filter by the original order id." ["minimum"]=> int(1) } ["manufacturerId"]=> array(4) { ["type"]=> string(7) "integer" ["default"]=> NULL ["description"]=> string(26) "Filter by manufacturer id." ["minimum"]=> int(1) } ["complaintTypeId"]=> array(4) { ["type"]=> string(7) "integer" ["default"]=> NULL ["description"]=> string(28) "Filter by complaint type id." ["minimum"]=> int(1) } ["rootCauseId"]=> array(4) { ["type"]=> string(7) "integer" ["default"]=> NULL ["description"]=> string(24) "Filter by root cause id." ["minimum"]=> int(1) } ["limit"]=> array(5) { ["type"]=> string(7) "integer" ["default"]=> int(20) ["description"]=> string(47) "Maximum number of complaints to return (1-100)." ["minimum"]=> int(1) ["maximum"]=> int(100) } } } |
complaint_service_get_complaint_history
Description: Return the audit trail (status changes over time) for a single complaint, oldest entry first.
Handler: Shapeways\Deprecated\ComplaintService\Mcp\ComplaintServiceTools::getComplaintHistory()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
id |
integer | Yes | - | The numeric id of the complaint. |
Full Schema
| array(3) { ["type"]=> string(6) "object" ["properties"]=> array(1) { ["id"]=> array(3) { ["type"]=> string(7) "integer" ["description"]=> string(32) "The numeric id of the complaint." ["minimum"]=> int(1) } } ["required"]=> array(1) { [0]=> string(2) "id" } } |
complaint_service_statistics
Description: Return the total number of complaints and a per-status breakdown, ordered by workflow position.
Handler: Shapeways\Deprecated\ComplaintService\Mcp\ComplaintServiceTools::statistics()
Parameters
| Name | Type | Required | Default | Description |
|---|
Full Schema
| array(2) { ["type"]=> string(6) "object" ["properties"]=> object(stdClass)#1033 (0) { } } |
Prompts 3
complaint_service_triage_complaint
Description: Produce a prompt that asks the model to triage a specific complaint and recommend the next action.
Handler: Shapeways\Deprecated\ComplaintService\Mcp\ComplaintServicePrompts::triageComplaint()
Arguments
| Name | Required | Description |
|---|---|---|
complaintId |
Yes | - |
complaint_service_draft_customer_update
Description: Produce a prompt that asks the model to draft a polite customer-facing email update for a complaint.
Handler: Shapeways\Deprecated\ComplaintService\Mcp\ComplaintServicePrompts::draftCustomerUpdate()
Arguments
| Name | Required | Description |
|---|---|---|
complaintId |
Yes | - |
complaint_service_workload_summary
Description: Produce a prompt that asks the model to summarise the current complaint workload, broken down by status.
Handler: Shapeways\Deprecated\ComplaintService\Mcp\ComplaintServicePrompts::workloadSummary()
This prompt has no arguments.
Resources 8
complaint_service_resolutions
| URI | complaint-service://resolutions |
|---|---|
| Handler | Shapeways\Deprecated\ComplaintService\Mcp\ComplaintServiceResources::resolutions() |
| Description | All available complaint resolution types, each linked to a complaint type. |
| MIME Type | application/json |
complaint_service_requested_resolutions
| URI | complaint-service://requested-resolutions |
|---|---|
| Handler | Shapeways\Deprecated\ComplaintService\Mcp\ComplaintServiceResources::requestedResolutions() |
| Description | Resolutions a customer can request when filing a complaint, each linked to a complaint type. |
| MIME Type | application/json |
complaint_service_complaint_types
| URI | complaint-service://complaint-types |
|---|---|
| Handler | Shapeways\Deprecated\ComplaintService\Mcp\ComplaintServiceResources::complaintTypes() |
| Description | All available complaint types. |
| MIME Type | application/json |
complaint_service_root_causes
| URI | complaint-service://root-causes |
|---|---|
| Handler | Shapeways\Deprecated\ComplaintService\Mcp\ComplaintServiceResources::rootCauses() |
| Description | All available complaint root causes. |
| MIME Type | application/json |
complaint_service_culprits
| URI | complaint-service://culprits |
|---|---|
| Handler | Shapeways\Deprecated\ComplaintService\Mcp\ComplaintServiceResources::culprits() |
| Description | All available complaint culprits. |
| MIME Type | application/json |
complaint_service_quality_issues
| URI | complaint-service://quality-issues |
|---|---|
| Handler | Shapeways\Deprecated\ComplaintService\Mcp\ComplaintServiceResources::qualityIssues() |
| Description | All available complaint quality issues. |
| MIME Type | application/json |
complaint_service_investigation_teams
| URI | complaint-service://investigation-teams |
|---|---|
| Handler | Shapeways\Deprecated\ComplaintService\Mcp\ComplaintServiceResources::investigationTeams() |
| Description | All available complaint investigation teams. |
| MIME Type | application/json |
complaint_service_statuses
| URI | complaint-service://statuses |
|---|---|
| Handler | Shapeways\Deprecated\ComplaintService\Mcp\ComplaintServiceResources::statuses() |
| Description | All complaint workflow statuses, ordered by position. |
| MIME Type | application/json |
Resource Templates 0
No resource templates were registered.