Skip to main content
Glama
powercess

yimu-mcp

by powercess

login_qr_recognize

login_qr_recognize

Reads a PNG QR code image to extract embedded text and session ID, verifying login link format for automated login chain checks.

Instructions

从 PNG 图片识别二维码内容(免鉴权,测试/自动登录链路校验用):传入图片路径,返回二维码文本与 session_id。可用于验证 login_qr_start 生成的二维码文件内容是否为 login:。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
image_pathYesPNG 二维码图片文件路径

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden. It discloses that the operation requires no authentication, returns QR text and session_id, and is intended for validation of login_qr_start output. It does not cover failure behavior or edge cases, but for a simple read-only recognition utility the disclosed behavior is reasonably complete.

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 a single compact sentence that front-loads the core purpose, then covers output and use case. Every clause contributes useful information, with no wasted words.

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?

For a single-parameter tool with no output schema, the description explains the input, the output fields, the authentication requirement, and the intended use case. It is complete enough for an agent to call it correctly, though exact response structure is not specified.

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%, and the only parameter image_path is described as a PNG QR code file path. The tool description adds no additional parameter semantics beyond the schema, so the baseline of 3 applies.

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 a specific verb and resource: recognizing QR code content from a PNG image. It also names its output (QR text and session_id) and its intended role (verifying login_qr_start-generated QR files), which distinguishes it from sibling authentication tools.

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?

The description provides clear context: it is for testing/auto-login chain verification and requires no authentication. It even names login_qr_start as the source of the QR file to validate. It does not explicitly state when not to use it or list alternatives, so it falls just short of a 5.

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