store_inspection

从ERP系统查询/导出巡店记录Excel文件。必须先调用 brand_select 获取 brandId,再调用 branch_select 获取 branchId 和 cityCode。支持2个action: query预览数据, export执行导出。确认城市公司(必填,支持多选)、确认巡店日期(必填,默认本月含今天;单次最长365天,超出时提示用户缩短范围)。

Server Yjzf @yjzf/mcp-server-yjzf
Category Read
Risk class Low
Parameters 95 required

What store_inspection does on Yjzf

AI agents call store_inspection to retrieve information from Yjzf without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

ParameterTypeRequiredDescription
action string Yes 要执行的动作
pageNo number 页码,仅 query 时使用,不传默认1
brandId string Yes 品牌ID,必须通过 brand_select 工具获取,禁止自行编造
endTime number 巡店结束时间(毫秒时间戳)。用户有指定日期时,必须先调用 get_current_time 获取当前时间作为参考,再用 date_to_timestamp(endOfDay=true) 转换,严禁自行估算。不传默认今天结束。时间范围最长不超过365天,超出时提示用户缩短范围
branchId string Yes 城市公司ID(即organId),必须通过 branch_select 工具获取,禁止自行编造
cityCode string Yes 城市编码,必须通过 branch_select 工具获取,禁止自行编造
pageSize number 每页条数,仅 query 时使用,不传默认10
startTime number 巡店开始时间(毫秒时间戳)。用户有指定日期时,必须先调用 get_current_time 获取当前时间作为参考,再用 date_to_timestamp 转换,严禁自行估算。不传默认本月第一天。时间范围最长不超过365天,超出时提示用户缩短范围
branchName string Yes 城市公司名称(用于文件命名),必须通过 branch_select 工具获取,禁止自行编造

Parameters from the server's own tool schema.

Why store_inspection needs a policy

This tool retrieves and exports store inspection records from an ERP system. While it supports both preview and export actions, both are read-only operations that retrieve historical data without modifying, deleting, or executing operations. The prerequisite calls to branch_select and brand_select are configuration steps for filtering.

From the tool's definition Tool performs queries and exports from ERP system: 'query预览数据, export执行导出' (query to preview data, export to perform export). Actions are limited to retrieving store inspection records as Excel files with no modification, deletion, or execution capabilities.

Questions about store_inspection

What does the store_inspection tool do? +

从ERP系统查询/导出巡店记录Excel文件。必须先调用 brand_select 获取 brandId,再调用 branch_select 获取 branchId 和 cityCode。支持2个action: query预览数据, export执行导出。确认城市公司(必填,支持多选)、确认巡店日期(必填,默认本月含今天;单次最长365天,超出时提示用户缩短范围)。. It is categorised as a Read tool in the Yjzf MCP Server, which means it retrieves data without modifying state.

What parameters does store_inspection accept? +

store_inspection accepts 9 parameters: action, pageNo, brandId, endTime, branchId, cityCode, pageSize, startTime, branchName. Required: action, brandId, branchId, cityCode, branchName. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on store_inspection? +

Register the Yjzf MCP server in PolicyLayer and add a rule for store_inspection: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Yjzf. Nothing to install.

What risk level is store_inspection? +

store_inspection is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit store_inspection? +

Yes. Add a rate_limit block to the store_inspection rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block store_inspection completely? +

Set action: deny in the PolicyLayer policy for store_inspection. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides store_inspection? +

store_inspection is provided by the Yjzf MCP server (@yjzf/mcp-server-yjzf). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.