Skip to main content
Glama

Get one scenario in full

pc_get_scenario
Read-only

Fetch the complete verified record for a Partner Center REST operation by scenario id: method, path, auth, request/response shapes, examples, gotchas, and doc link.

Instructions

Return the complete verified record for one Partner Center REST operation: method, path, auth type, required headers, request and response shapes, per-field notes, working curl/C#/TypeScript examples, gotchas, and the doc link. Use this once you know the scenario id — get one from pc_list_scenarios, a pc_plan_* workflow, or pc_lookup_error. For runnable code in a specific language prefer pc_generate_call; for a request body skeleton prefer pc_build_request. Read-only. Offline and deterministic unless enrich is set, which adds a live Microsoft Learn fetch. An unknown id returns ok:false with suggestions listing close or valid ids.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesExact scenario id in kebab-case, e.g. "create-cart", "get-invoices", "list-customer-subscriptions". Case-sensitive; call pc_list_scenarios to discover valid ids. A near miss comes back as `suggestions` rather than a guess.
enrichNoSet true to also fetch live Microsoft Learn excerpts for this operation and attach them as `liveDocs`. Defaults to false. Turning it on adds a network round-trip and makes the result non-deterministic; leave it off unless the bundled record is not enough.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYesTrue when the call succeeded and `data` is populated; false when `error` explains why not.
dataNoThe result payload. Present only when `ok` is true.
errorNoHuman-readable reason the call failed. Present only when `ok` is false.
suggestionsNoValid values to retry with, returned alongside `error` when the requested identifier was not found.
Behavior5/5

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

Beyond annotations, the description reveals 'Read-only', 'Offline and deterministic unless enrich is set', the live Microsoft Learn fetch consequence, and 'An unknown id returns ok:false with suggestions'. These details enrich the readOnlyHint and openWorldHint annotations and explain the non-idempotent behavior without contradicting any annotation.

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?

Four sentences, tightly packed with information. The first sentence leads with the return value, the second gives usage context, the third names alternatives, and the fourth covers edge cases. No filler or repetition of schema fields.

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?

The description covers how to get the id, what content is returned, alternative tools, the enrich side effect, and error handling for unknown ids. An output schema exists, so return shapes are covered. This is complete guidance for correct invocation.

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?

Both parameters have thorough schema descriptions (100% coverage), so baseline is 3. The description adds a small reference to discovering valid ids via pc_list_scenarios, but this is already present in the id parameter description. No additional parameter syntax or format details are provided beyond the schema.

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 states a specific verb and resource: 'Return the complete verified record for one Partner Center REST operation', enumerating exactly what is included (method, path, auth, headers, shapes, notes, examples, gotchas, link). It clearly distinguishes from siblings by requiring a scenario id and explicitly naming alternative tools for other use cases.

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?

The description gives explicit when-to-use: 'Use this once you know the scenario id', plus how to obtain that id (pc_list_scenarios, pc_plan_*, pc_lookup_error). It also names alternatives: 'prefer pc_generate_call' and 'prefer pc_build_request', covering both inclusion and exclusion guidance.

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/tunahanaliozturk/partner-center-mcp'

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