Skip to main content
Glama

Vendor Portal Settings

get_vendor_portal_settings
Read-only

Read the vendor portal settings, as Setup > Vendor portal shows them: the tenant default for sharing the demand forecast with suppliers (Off; Forecast; or ForecastAndOrderTiming, which adds the estimated next order), how many months ahead a shared forecast reaches, and the profile fields suppliers must fill in. Optional supplier (id or exact name) adds that supplier's own override and the level that applies to it. Change them with set_vendor_forecast_sharing; see what a supplier would see with preview_vendor_forecast. Requires an operator (unpinned) credential and an Admin user.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_vendor_portal_settings"
  }
}

Input Schema

NameRequiredDescriptionDefault
supplierNoOptional supplier id (GUID) or exact name.

Output Schema

NameRequiredDescriptionDefault
nextStepNo
supplierNo
forecastSharingNo
forecastHorizonMonthsNo
requiredProfileFieldsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered; the description adds genuinely new context by naming the credential and permission prerequisites ('Requires an operator (unpinned) credential and an Admin user'). It also describes the shape of the returned settings and the effect of the supplier parameter, though it does not mention error behavior when a supplier name does not match exactly.

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?

Front-loaded with the purpose, then the return contents, then the sibling routing and prerequisites — a sensible order with no filler. The first sentence is long and packs the enum values inline, which is dense but each clause carries information an agent needs.

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

Completeness5/5

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

For a read-only settings getter with an output schema already defined, the description supplies the remaining essentials: what is returned, the optional override lookup, auth prerequisites, and the two correct alternatives for changing or previewing. Nothing needed to invoke it correctly is missing.

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 the schema already documents 'supplier id (GUID) or exact name'. The description goes beyond that by explaining the semantic effect: passing a supplier adds that supplier's own override plus the level that applies to it, which the schema does not say. It does not clarify matching/collision behavior when a name is ambiguous.

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?

States a specific verb and resource ('Read the vendor portal settings') and immediately enumerates the three things returned: the tenant forecast-sharing default (Off; Forecast; ForecastAndOrderTiming), the months-ahead horizon, and required supplier profile fields. It explicitly separates itself from set_vendor_forecast_sharing (mutation) and preview_vendor_forecast (simulation), so an agent can pick correctly without opening schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit when-to-use framing ('as Setup > Vendor portal shows them'), names the alternative for changing values ('Change them with set_vendor_forecast_sharing') and for simulating the supplier view ('see what a supplier would see with preview_vendor_forecast'). It also states what the optional supplier parameter is for, leaving no inference about when to pass it.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources