Skip to main content
Glama
sap-b1-mcp

sap-b1-mcp

by kodenova

Get item

get_item
Read-onlyIdempotent

Fetch a single SAP Business One item master record by exact ItemCode, optionally returning only selected fields for targeted item lookups.

Instructions

Fetch one item master record by its exact ItemCode.

Input Schema

NameRequiredDescriptionDefault
fieldsNoSubset of fields to return. Allowed: ItemCode, ItemName, ItemsGroupCode, BarCode, InventoryItem, SalesItem, PurchaseItem, InventoryUOM, QuantityOnStock, QuantityOrderedFromVendors, QuantityOrderedByCustomers, Valid, Frozen
itemCodeYesItemCode (exact code, case-sensitive on HANA)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered externally. The description contributes the exact-match/case-sensitivity framing but says nothing about not-found behavior or whether missing items return empty vs. error.

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?

A single front-loaded sentence with no filler; the key constraint (exact code) is placed where it is read first.

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 two-parameter, fully documented read tool with rich annotations and no output schema, this is close to sufficient. The only meaningful omission is behavior on a non-existent ItemCode and whether 'fields' projection affects payload size.

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%, including the case-sensitivity note on HANA and the full enum list for 'fields'. The description's mention of 'exact ItemCode' restates the schema rather than adding format, casing, or projection guidance.

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?

Names a specific verb (Fetch) and resource (one item master record) with the lookup key (exact ItemCode), so an agent knows this is a single-record exact-match read. It does not explicitly name search_items as the alternative for fuzzy/list lookups, so the sibling distinction is only implied by 'one' and 'exact'.

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 phrase 'by its exact ItemCode' implies the precondition for use (you must already know the code), which is meaningful guidance. But it never states when to prefer search_items instead, nor what happens when the code does not exist.

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