Skip to main content
Glama

anon_get_physical_items_item_id

Read-onlyIdempotent

Fetches a physical item by itemId from the project tied to the API key. Project members only; cross-project requests return 404.

Instructions

获取物资条目。项目成员可用。跨项目访问返回 404。 GET /api/projects/{id}/physical/items/{itemId} 项目由当前 API 密钥自动确定,无需传 projectId。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/openWorld, but the description adds genuine behavioral context beyond them: the auth requirement (project members only), the failure mode (404 on cross-project access), and the fact that the project is resolved from the API key and must not be passed. These are non-obvious operational facts.

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?

Three short front-loaded lines: purpose, access/error semantics, then the endpoint and project-resolution note. Little waste, though the raw endpoint line partially duplicates information an agent can infer from the name.

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

Completeness3/5

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

With no output schema, the description should say something about what the returned item contains; it is silent on return shape. It does cover access, error behavior, and parameter context, so it is adequate but not complete for a get-by-id tool.

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 0% and the single nested itemId parameter is undocumented in the schema, so the description carries the burden. It usefully clarifies what is NOT a parameter (projectId is derived from the API key) but never explains the itemId itself or its format. Partial compensation only.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource (获取物资条目) and pins it to the concrete endpoint GET /api/projects/{id}/physical/items/{itemId}, which implicitly distinguishes single-item retrieval from the list sibling anon_get_physical_items. It does not name a sibling explicitly, so it stops short of a 5.

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?

Provides useful context — available to project members, cross-project access returns 404 — which tells the agent when the call will succeed. However, it never states when to prefer this over anon_get_physical_items or the logs sibling; routing is left to inference from the path.

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

Deploy Server

Other Tools