Skip to main content
Glama
kingcos

fanfou-mcp

by kingcos

publish_photo

Post text and a photo to Fanfou. Provide the status message and photo URL; optional confirmation prevents accidental posting.

Instructions

发布饭否内容(文字+图片)

调用饭否 API 的 /photos/upload.json 接口发布带图片的内容。

Args: status: 要发布的文字内容(最多140字) photo_url: 图片的网络 URL 地址 confirm: 是否确认发布(二次确认参数)

Returns: 发布结果字典,包含: - 发布 ID: 新发布消息的唯一标识符 - 发布时间: 消息发布时间 - 发布结果: 发布是否成功的描述信息 - 重要提示: 关于审核的提醒信息

或者确认信息字典,包含:
- 需要确认: 是否需要用户确认
- 内容预览: 要发布的内容预览
- 确认提示: 如何进行确认的说明

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusYes
photo_urlYes
confirmNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

With no annotations, the description carries full burden. It discloses the API call and confirmation flow but omits authentication needs, rate limits, and mutability. It adds some value but leaves gaps.

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

Conciseness5/5

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

The description is concise with clear section headers for Args and Returns. No unnecessary words; structured meaningfully.

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

Completeness4/5

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

The description covers input parameters and return values well. However, it omits error handling, authentication requirements, and potential side effects. For a posting tool, this is a minor gap.

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

Parameters5/5

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

Schema coverage is 0%, so the description fully compensates by explaining each parameter: status with max length, photo_url as URL, confirm as confirmation flag. It also details return fields.

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 clearly states the tool's purpose: posting content with images to Fanfou via the /photos/upload.json API. It distinguishes from the sibling publish_status by specifying image inclusion.

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?

The description implies usage for image posts but does not explicitly guide when to use this vs. publish_status or when to set the confirm parameter. It lacks explicit when-to-use and when-not-to-use guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kingcos/fanfou-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server