Skip to main content
Glama

티스토리 큰 이미지 올릴 주소 받기

tistory__upload__put_url

블로그 글의 image 블록에 넣을 큰 이미지 파일을 올릴 주소를 받습니다. 파일 바이트는 보내지 않습니다. action 은 그 글을 저장할 도구의 액션 ID, purpose 는 블로그 이미지 용도, content_type 은 PNG, JPG, GIF, WEBP 중 하나, size_bytes 는 파일 크기입니다(최대 15MB). 받은 put_url 로 15분 안에 HTTP PUT 으로 파일을 보내고 함께 받은 headers 를 그대로 붙이세요. 크기나 종류가 다르면 거절됩니다. 보낸 뒤 확정 도구에 upload_id 를 넣어 부르세요. 파일을 직접 보낼 수 없으면 작은 이미지는 올려 두기 도구로, 아니면 이미지 주소를 넣으세요. 호출마다 토큰 1소진 입력 자료를 XBOSS에 저장합니다. 기존 기관 실행 권한과 확인 절차가 적용됩니다.

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": {
      "action": "<action>",
      "purpose": "<purpose>",
      "file_name": "<file_name>",
      "content_type": "<content_type>",
      "size_bytes": "<size_bytes>"
    },
    "name": "tistory__upload__put_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes이 이미지를 쓸 글쓰기 작업(소비 액션)의 이름
purposeYes파일의 용도 - 블로그 이미지 하나
file_nameYes파일의 표시 이름 - 형식은 이름이 아니라 바이트로 가린다
size_bytesYes올릴 파일의 바이트 수 - PUT 할 때 같은 크기여야 한다
content_typeYes올릴 파일의 종류 - PUT 할 때 같은 값을 보낸다

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false and openWorldHint=true, but the description adds substantial behavior beyond that: a 15-minute PUT window, the requirement to attach returned headers verbatim, rejection when size or content type mismatches, a per-call token cost, input data being persisted to XBOSS, and applicable institution permission/confirmation procedures. That is exactly the operational context annotations cannot carry.

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?

The purpose and the no-bytes constraint are front-loaded, followed by parameters, then the PUT protocol and fallbacks — a logical order. It loses a point for the trailing policy boilerplate, which is appended without separation and reads as a run-on ('토큰 1소진 입력 자료를 XBOSS에 저장합니다'), adding bulk that is not tool-specific.

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

Completeness5/5

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

There is no output schema, and the description compensates fully by stating what comes back (put_url, headers, upload_id) and how each piece is used downstream. For a five-required-parameter mutation tool with an external HTTP step, nothing an agent needs to invoke it correctly is missing.

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 the baseline is 3. The description restates the same facts the schema already documents — content_type options, size_bytes cap of 15MB, and the role of action as the saving tool's action ID — without adding syntax or constraints the schema lacks.

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?

The description uses a specific verb and resource ('큰 이미지 파일을 올릴 주소를 받습니다') and immediately scopes it: '파일 바이트는 보내지 않습니다', which separates it from the staging tools that actually transmit bytes. An agent can tell this is a URL-issuance step rather than an upload step without opening any schema.

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

Usage Guidelines5/5

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

It names the full call sequence (obtain put_url → HTTP PUT within 15 minutes with the returned headers → call the confirm tool with upload_id) and gives an explicit fallback path: use the staging tool for small images or insert an image URL if direct sending is impossible. This is when-to-use, when-not-to-use, and named alternatives in one place.

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