Skip to main content
Glama

SharkPOS API (boleta y factura electrónica SII)

Ejemplo para emitir una boleta

ejemplo_emitir_boleta
Read-only

Código listo para emitir una boleta electrónica (DTE 39) en el sandbox, con Idempotency-Key estable y la API key leída de SHARKPOS_API_KEY.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "lenguaje": "<lenguaje>"
    },
    "name": "ejemplo_emitir_boleta"
  }
}

Input Schema

NameRequiredDescriptionDefault
lenguajeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already signal readOnlyHint=true and openWorldHint=false, and the description reinforces this by framing the output as code rather than an actual issuance. It adds real context beyond the annotations: the environment is sandbox, retries use a stable Idempotency-Key, and credentials come from the SHARKPOS_API_KEY environment variable. Only the shape/length of the returned snippet is left unstated.

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

Conciseness4/5

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

A single front-loaded sentence that identifies the artifact first and the constraints second, with no filler. It is slightly dense, packing environment, idempotency and auth into one clause, but every element earns its place.

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 simple code-sample tool with no output schema, the description covers what is produced, where it runs, and what credentials are needed. It is incomplete on the one input the caller must supply and on the form of the returned snippet (single file, full sample, diff).

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

Parameters2/5

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

There is exactly one parameter, lenguaje, and schema description coverage is 0%, so the description is the only place meaning could be added, yet it never mentions the parameter. The enum values (curl, node, php, python) are self-explanatory, which keeps this from being a 1, but the description does nothing to compensate for the coverage gap.

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 specific artifact (ready-to-use code) for a specific resource (electronic receipt, DTE 39) in a specific environment (sandbox). An agent knows this returns a snippet rather than issuing anything. It does not, however, distinguish itself from siblings such as ver_endpoint or como_empezar, which could plausibly also surface integration help.

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 sandbox qualifier and the SHARKPOS_API_KEY prerequisite imply when this example applies, but the description never says when to pick this over the other documentation/endpoint tools. Usage is implied rather than stated, with no exclusions.

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.

Resources