Skip to main content
Glama
themiguelamador

toconline-mcp

api_request

Send direct HTTP requests to the TOCOnline API for any endpoint. Supports GET, POST, PATCH, PUT, DELETE with safety confirmation for destructive operations.

Instructions

Escape hatch for endpoints not covered by typed tools.

Path must match /api/<resource>[/<sub>...]. Destructive methods require confirm=true. Prefer the typed tools (list_customers, create_sales_document, etc.) when they fit.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyNoRaw JSON:API envelope for writes, shape `{data: {type, attributes, ...}}`.
pathYesAPI path starting with /api/, e.g. /api/commercial_purchases_documents.
queryNoQuery parameters as a flat object.
methodYesHTTP method.
confirmNoMust be true for POST/PATCH/PUT/DELETE. Safety gate against unintended writes.
flattenNoFlatten JSON:API response. Set false to see the raw envelope.
Behavior4/5

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

No annotations provided, so description carries full burden. It discloses path format, confirm safety gate, and flatten behavior. Lacks details on error handling or side effects, but appropriate for a generic tool.

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?

Extremely concise: two short yet complete sentences. Front-loaded with purpose, no redundant information. Every sentence serves a clear function.

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 generic escape hatch with no output schema and 6 parameters fully described in schema, the description provides necessary usage context, path rules, and safety gates. It is complete for the tool's role.

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%; schema already explains each parameter. The description adds context like 'Escape hatch' and 'safety gate', but does not significantly augment parameter semantics beyond 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?

Clearly identifies as an 'Escape hatch for endpoints not covered by typed tools.' Distinguishes from sibling tools by stating it is for unsupported endpoints, and mentions specific typed tools as alternatives.

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?

Explicitly instructs when to use ('when they fit') and when not to (prefer typed tools). Provides path pattern, confirm requirement for destructive methods, and references sibling tools by name for preference.

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/themiguelamador/toconline-mcp'

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