Skip to main content
Glama
Poly.Pizza MCP Server

Poly.Pizza MCP Server

by HaD0Yun

set_api_key

Configure or check the Poly.Pizza API key stored in your local config file, so the server can search and import 3D models into Unity.

Instructions

Set or check the Poly.Pizza API key. The key is stored in ~/.poly-pizza/config.json

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": "set_api_key"
  }
}

Input Schema

NameRequiredDescriptionDefault
clearNoClear the stored API key
apiKeyNoAPI key to set. If not provided, shows current status

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden; it does add meaningful behavior by naming the on-disk side effect (~/.poly-pizza/config.json), which is not in the schema. It omits whether the key is validated on write, whether clear is reversible, and what the status check returns.

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?

Two short sentences, no redundancy, and the operational purpose is front-loaded before the storage detail. Nothing can be trimmed without losing information.

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?

For a two-parameter config tool with a fully documented schema and no output schema, the definition covers the essentials. It still leaves gaps an agent would care about: whether the key must be set before using the search/import siblings, and what the status output or failure looks like.

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%, so the baseline of 3 applies; both `clear` and `apiKey` are already documented in the schema, including the 'shows current status' fallback. The description adds no syntax, format, or precedence guidance (e.g., what happens if both clear and apiKey are supplied).

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 concrete verb pair (set/check) and the specific resource (Poly.Pizza API key), plus where it persists. The purpose is unmistakable and scoped; it does not explicitly contrast with a sibling, but no sibling in the listed set touches credentials, so the differentiation is implicit rather than stated.

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 'set or check' phrasing implies the two modes, and the schema clarifies that omitting apiKey shows status. However, the description never states when an agent should call this versus proceeding directly to search/import tools, nor that a key may be a prerequisite for other operations.

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