Skip to main content
Glama

okfindex

Authorize base conversion

authorize_base_conversion

Authorize the quoted price and queue conversion. Optional account document conversion. Check conversion_limits in get_base before upload. Raw HTTP accepts application/pdf, application/msword or application/vnd.openxmlformats-officedocument.wordprocessingml.document with URL-encoded X-Document-Name, up to 8 MiB. PDF permits 200 physical pages. DOC and DOCX contain continuous text, with pages=0 and no visual review; their quote charges once per file. The product publishes its rates in /api/pricing. JSON: filename and canonical file_base64; prefer raw HTTP for large files. The MCP transport permits 256 KiB per request. Upload only obtains a quote. Authorize with the exact quote and explicit user authority to spend credit. A repeated authorization reuses the account's right for this source hash. Processing continues without an open browser. Publication remains a separate action.

Input Schema

NameRequiredDescriptionDefault
quoteYesCopy the complete quote from quote_base_document. Changed fields return 409 without purchase.
base_idYesThe 64-character ID returned by the API.
authorizeYesMust be true. Requires explicit user authority to spend the quoted credit.
conversion_idYesThe 64-character ID returned by the API.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added

TDQS

B3.1/5.0
Behavior4/5

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

Beyond the annotations, the description discloses the critical traits: this spends real credit, requires explicit user authority, and processing continues without an open browser (async). It also explains that a repeated authorization reuses the account's right for the same source hash — though this sits in mild tension with idempotentHint=false and could be stated more precisely.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core instruction is front-loaded, but roughly two-thirds of the text (MIME types, 8 MiB cap, 200-page PDF limit, 256 KiB MCP transport, base64 guidance) describes the upload/quote tool rather than authorization. This is padding that actively misdirects and should have been trimmed.

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 credit-spending mutation with no output schema, the description does cover the essentials: cost, required authority, repeat-call semantics, async continuation, and the follow-up publish step. What it lacks is any indication of what a successful authorization returns (e.g., conversion status or queued state), and the irrelevant upload detail crowds out room for that.

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 coverage is 100%, so the schema already documents all four parameters, including the nested quote object, the 409-on-changed-fields rule, and that authorize must be true. The description reinforces 'authorize with the exact quote' but adds no syntax or format detail the schema lacks.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence — 'Authorize the quoted price and queue conversion' — gives a clear verb and resource. However, the bulk of the remaining text describes file upload formats, size limits, and HTTP transport constraints that belong to quote_base_document, which blurs what this tool actually does. An agent reading the full description could mistake it for an upload tool.

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?

There is real routing guidance: check conversion_limits via get_base first, authorize only with the exact quote and explicit user authority to spend credit, and publication remains a separate action (pointing to publish_base). But it never explicitly says 'use quote_base_document to obtain the quote first' in the description body — that only appears in the schema — and the upload-oriented guidance is misplaced here.

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.