Skip to main content
Glama

Add a photo to a quote

quote_addPhoto

Attach an already-uploaded photo to the quote and continue planning.

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": {
      "token": "<token>",
      "expectedRevision": "<expectedRevision>",
      "storageId": "<storageId>"
    },
    "name": "quote_addPhoto"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenYes
fileNameNo
storageIdYes
questionIdNo
submissionIdNo
expectedRevisionYes

Output Schema

NameRequiredDescriptionDefault
dataYes
outcomeYes
blockersYes
revisionNo
nextActionsYes
continuationYes
missingFactsYes
schemaVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-destructive, closed-world mutation. The description adds the useful precondition that the photo must already exist in storage, but is silent on the revision/concurrency requirement implied by expectedRevision and on what a stale revision does.

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?

One front-loaded sentence with no filler, and the key precondition appears before the outcome. It is efficient but arguably under-specified rather than genuinely concise.

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?

A six-parameter mutation with three required fields and no schema descriptions needs far more than one sentence. The presence of an output schema excuses explaining return values, but the semantics of expectedRevision and the three optional parameters are left unaddressed.

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 coverage is 0% across six parameters, so the description must carry the load and does not. Only storageId is indirectly conveyed via "already-uploaded photo"; token, expectedRevision, fileName, questionId, and submissionId are entirely unexplained.

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?

States a specific verb and resource: attach a photo to a quote. The qualifier "already-uploaded" meaningfully separates it from the sibling quote_uploadUrl, which presumably supplies the storage id. It stops short of naming that sibling explicitly.

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

Usage Guidelines3/5

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

"Already-uploaded" implies the prerequisite step (upload first, then attach) and "continue planning" hints at follow-on work, but there is no explicit when-to-use, when-not-to-use, or named alternative.

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.