Skip to main content
Glama
bdiaby1

Lexware Office MCP Server

by bdiaby1

search

Search the curated Lexware Office API catalog to find endpoints, request shapes, workflows, and domain caveats before executing.

Instructions

Search the curated Lexware Office API catalog by running a JavaScript async arrow function.

Use this before execute to discover endpoints, request shapes, response notes, workflows, and domain-specific caveats.

Available global:

declare const spec: LexwareApiCatalog;

Useful starting points:

  • spec.info.domainIndex: compact map from business domains to endpoint lists

  • spec.info.writesEnabled: whether this server currently allows POST/PUT/PATCH/DELETE — check before planning writes

  • spec.paths: path -> method -> operation catalog with params, requestBody, responses, examples, capabilities, docsUrl

  • spec.workflows: curated recipes for reporting, sales documents, files/uploads, webhooks, and API quirks

  • spec.info.voucherStatusSemantics and financeReportingSemantics: finance/status guidance for revenue/Umsatz/profit questions

Sandbox: no network, filesystem, process, fetch, imports, or API key. Return JSON-serializable data; console logs are captured.

Examples:

async () => Object.entries(spec.info.domainIndex) .filter(([name, domain]) => [name, ...domain.tags].some(value => value.toLowerCase().includes('contact'))) .map(([name, domain]) => ({ name, ...domain }))

async () => { const op = spec.paths['/v1/voucherlist']?.get; return { summary: op?.summary, parameters: op?.parameters, notes: op?.notes, examples: op?.examples }; }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYesJavaScript async arrow function to search the Lexware API catalog
Behavior5/5

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

With no annotations, the description carries the full burden. It thoroughly discloses the sandbox limitations ('no network, filesystem, process, fetch, imports, or API key'), return expectations ('Return JSON-serializable data; console logs are captured'), and the available global 'spec' object, providing strong behavioral context.

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?

The description is long but well-structured with bullet points and code blocks. Each section serves a purpose: purpose, usage, global, starting points, sandbox, and examples. It is front-loaded and scannable despite its length.

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?

Given the tool's complexity and the absence of an output schema, the description is remarkably complete. It explains the execution environment, data structures, use cases, constraints, and examples, which fully prepares an agent to select and invoke the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Although the schema already describes the 'code' parameter, the description goes far beyond by documenting the structure of the 'spec' global, listing key properties like domainIndex and workflows, and providing two complete code examples. This enriches the parameter meaning substantially.

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 clearly states the tool's function: 'Search the curated Lexware Office API catalog by running a JavaScript async arrow function.' It names the specific resource (catalog) and differentiates from the sibling 'execute' by explicitly prescribing use before it.

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?

Explicit guidance is provided: 'Use this before execute to discover endpoints, request shapes, response notes, workflows, and domain-specific caveats.' It also offers practical starting points and reminds the agent to check 'writesEnabled' before planning writes, effectively telling when and how to use the tool.

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/bdiaby1/claude_lexware_mcp_3'

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