Serveur MCP

smartscale

io.github.jdhart81/smartscale
Science et ingénierie Public et accessible MCP 2025-11-25

Ce que fait ce MCP

Calculates real-world object dimensions from caller-supplied pixel geometry using a CR80 credit card as a scale reference.

credit_card_photo_instructions
Return safe capture guidance for upstream CR80 pixel picking. The image stays with the caller or upstream vision system; SmartScale only receives numeric pixel geometry.
Schéma d’entrée
{'type': 'object', 'title': 'credit_card_photo_instructionsArguments', 'properties': {'measurement_goal': {'type': 'string', 'title': 'Measurement Goal', 'default': ''}, 'objects_to_measure': {'anyOf': [{'type': 'array', 'items': {'type': 'string'}}, {'type': 'null'}], 'title': 'Objects To Measure', 'default': None}}}
Schéma de sortie
{'type': 'object', 'title': 'FleetToolResult', 'required': ['status'], 'properties': {'data': {'title': 'Data', 'default': None}, 'error': {'title': 'Error', 'default': None}, 'field': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Field', 'default': None}, 'result': {'title': 'Result', 'default': None}, 'status': {'type': 'string', 'title': 'Status'}, 'message': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Message', 'default': None}, 'timestamp': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Timestamp', 'default': None}, 'constraint': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Constraint', 'default': None}, 'error_type': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Error Type', 'default': None}}}
describe
Return SmartScale capabilities and input contract.
Schéma d’entrée
{'type': 'object', 'title': 'describeArguments', 'properties': {}}
Schéma de sortie
{'type': 'object', 'title': 'FleetToolResult', 'required': ['status'], 'properties': {'data': {'title': 'Data', 'default': None}, 'error': {'title': 'Error', 'default': None}, 'field': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Field', 'default': None}, 'result': {'title': 'Result', 'default': None}, 'status': {'type': 'string', 'title': 'Status'}, 'message': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Message', 'default': None}, 'timestamp': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Timestamp', 'default': None}, 'constraint': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Constraint', 'default': None}, 'error_type': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Error Type', 'default': None}}}
health
Return SmartScale health status.
Schéma d’entrée
{'type': 'object', 'title': 'healthArguments', 'properties': {}}
Schéma de sortie
{'type': 'object', 'title': 'FleetToolResult', 'required': ['status'], 'properties': {'data': {'title': 'Data', 'default': None}, 'error': {'title': 'Error', 'default': None}, 'field': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Field', 'default': None}, 'result': {'title': 'Result', 'default': None}, 'status': {'type': 'string', 'title': 'Status'}, 'message': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Message', 'default': None}, 'timestamp': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Timestamp', 'default': None}, 'constraint': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Constraint', 'default': None}, 'error_type': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Error Type', 'default': None}}}
scale_objects_from_credit_card
Scale object pixel dimensions using a standard CR80 credit card reference. Args: image_id: Caller-defined source identifier; no image is uploaded. credit_card_pixel_width: Caller-supplied pixel width of a CR80-size card. objects: Objects to scale. Each object needs pixel_width and pixel_height; label, pixel_area, pixel_perimeter, and input confidence are optional. credit_card_pixel_height: Optional caller-supplied height for distortion check. payment_ref: Optional paid escrow reference consumed by the gateway. request_id: Optional retry-safe idempotency key (maximum 128 characters).
Schéma d’entrée
{'type': 'object', 'title': 'scale_objects_from_credit_cardArguments', 'required': ['image_id', 'credit_card_pixel_width', 'objects'], 'properties': {'objects': {'type': 'array', 'items': {'type': 'object', 'additionalProperties': True}, 'title': 'Objects'}, 'image_id': {'type': 'string', 'title': 'Image Id'}, 'request_id': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Request Id', 'default': None}, 'payment_ref': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Payment Ref', 'default': None}, 'credit_card_pixel_width': {'type': 'number', 'title': 'Credit Card Pixel Width'}, 'credit_card_pixel_height': {'anyOf': [{'type': 'number'}, {'type': 'null'}], 'title': 'Credit Card Pixel Height', 'default': None}}}
Schéma de sortie
{'type': 'object', 'title': 'FleetToolResult', 'required': ['status'], 'properties': {'data': {'title': 'Data', 'default': None}, 'error': {'title': 'Error', 'default': None}, 'field': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Field', 'default': None}, 'result': {'title': 'Result', 'default': None}, 'status': {'type': 'string', 'title': 'Status'}, 'message': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Message', 'default': None}, 'timestamp': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Timestamp', 'default': None}, 'constraint': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Constraint', 'default': None}, 'error_type': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Error Type', 'default': None}}}
Ajouté
health
17 September 2026 12:42
Ajouté
describe
17 September 2026 12:42
Ajouté
scale_objects_from_credit_card
17 September 2026 12:42
Ajouté
credit_card_photo_instructions
17 September 2026 12:42