Skip to main content
Glama

get_in_and_out_records

get_in_and_out_records
Read-onlyIdempotent

Retrieve entry and exit records filtered by area or time range to track personnel presence in zones.

Instructions

【📊 查询】查询进出区域记录,可按区域或时间范围筛选。

参数:

  • areaId: 区域ID(可选),不传则返回全部区域

  • timeRange: 时间范围(可选),单日或范围

  • pageSize: 每页数量,默认100

  • page: 页码,默认1

返回: 进出记录列表,含tagCode、区域、进入/离开时间、状态(在场/已离开)

提示: 用 timeRange 查某天进出情况。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo页码,默认1
areaIdNo区域ID,不传则返回全部区域
pageSizeNo每页数量,默认100,最大500
timeRangeNo时间范围,格式 "YYYY-MM-DD"
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint. The description adds valuable behavioral details: the return structure (tagCode, area, time, status) and that omitting areaId returns all areas. This enriches transparency beyond annotations.

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 description is concise with a clear bulleted list for parameters. It is front-loaded with a purpose statement, though the emoji is decorative. Every line adds information without redundancy.

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 read-only query tool with no output schema, the description covers purpose, all parameters, and return fields. It provides enough context for an agent to use the tool correctly, though pagination behavior could be elaborated.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3. The description adds value by specifying timeRange format ('YYYY-MM-DD') and explaining that areaId omission returns all areas, which the schema's description does not fully capture.

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 verb '查询' (query) and the resource '进出区域记录' (in/out area records), making it distinct from sibling tools that focus on tags, personnel, or locations. It precisely defines the tool's purpose.

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 includes a hint about using timeRange to query a specific day, providing some usage context. However, it does not explicitly exclude cases or suggest alternatives among the many sibling tools.

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/sweet-dog-cyber/pls-mcp'

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