Skip to main content
Glama

Fittins AI

Card: upload a product photo

card_upload_photo

Used by the Fittins AI card when the user chooses a product photo on their device. Assistants use add_product_photo instead.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "data_base64": "<data_base64>"
    },
    "name": "card_upload_photo"
  }
}

Input Schema

NameRequiredDescriptionDefault
filenameNo
data_base64Yes

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

B3.1/5.0
Behavior2/5

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

Annotations already declare non-readonly, non-idempotent, non-destructive, so the safety profile is covered externally. The description adds no behavioral detail: it doesn't say where the photo is stored, whether it attaches to a product or session, what size/format limits apply to the base64 payload, or what happens on repeat calls (though idempotentHint already says false).

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

Conciseness4/5

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

Two short sentences, with the routing instruction placed last so the primary context leads. It's appropriately sized, though the brevity reflects thin content rather than tight editing of rich content.

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

Completeness2/5

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

This is a non-readonly write tool with no output schema and 0% parameter documentation, so the description should explain payload expectations and the effect of the upload. Nothing about the encoding, limits, or resulting state is provided, leaving the definition materially incomplete for a mutation tool.

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

Parameters2/5

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

Schema description coverage is 0%, so the description carries the full burden for the two parameters, and it says nothing about either. It never mentions that data_base64 must be a base64-encoded image or what filename is used for, leaving the caller to guess encoding and naming behavior.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description says this is the Fittins AI card's photo-upload path and names the sibling to use instead, so an agent can separate it from add_product_photo. The specific action (uploading a product photo) is only implied by the name/title rather than stated with a verb+resource in the description itself.

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 routes general-purpose assistants away to add_product_photo, which is real when-not guidance. What's missing is any statement of when this tool IS appropriate beyond 'the user chose a photo in the card UI'.

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