Skip to main content
Glama

Abrir un caso

start_case

Opens the person's case through the same pipeline as the site's form (/empezar): free review, no charge until there is a result. Before calling: (1) confirm every field with the person, (2) show them the data authorization of the service's area (list_services.data_authorizations) and set consent=true only if they accept it. "answers" takes the service's questions by key (list_services.services[].questions). Returns the case_id and the person's private link (signing_link), which they also get by email: give it to the person, who signs there, and gives their DIAN password there if their case needs it, themselves. Never sign, act on that link for them or ask for passwords. The email also carries an access code for you: ask the person for it to use upload_document and case_status. A repeat within 24 h updates the same case and returns no new link (it is in the first email).

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": {
      "product": "<product>",
      "email": "<email>",
      "phone": "<phone>",
      "consent": "<consent>"
    },
    "name": "start_case"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNoOnly when the service has no city question.
nameNoThe person's full name, if they give it (the form does not ask for it).
emailYesThe person's email: their private link and your access code go there.
phoneYesMobile, ideally with WhatsApp, e.g. "300 123 4567".
answersNoThe service's questions, by key, as strings: e.g. {"ciudad": "Bogotá", "cedula": "1234567890", "placa": "ABC123"}. Dates as AAAA-MM-DD; choices exactly as listed.
consentYesTrue only after the person read and accepted the data authorization of the service's area.
productYesThe service id from list_services.

Output Schema

NameRequiredDescriptionDefault
emailNo
case_idYes
messageYes
existingNo
email_sentNo
signing_linkNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true and destructiveHint=false, but the description adds real behavior the agent could not infer: the person receives the signing link and access code by email, the agent must never sign or act on that link, must never request passwords, and must obtain the emailed access code from the person to use upload_document and case_status. The 24h repeat window adds a nuance beyond idempotentHint=false without strictly contradicting it, since a later repeat can still create a distinct case.

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?

Purpose is front-loaded in the first clause, followed by the ordered preconditions and then the return/routing details, so the agent can act on it in reading order. It is long, and the email/access-code sentence is dense, but nearly every clause carries information not available in the schema or annotations.

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 7-parameter mutation tool with a nested answers object, the description covers the prerequisite lookup, consent gating, output routing (who gets the link and who must not use it), and the repeat-call behavior. An output schema exists, yet the description still identifies case_id and signing_link usefully without over-explaining the payload.

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

Parameters4/5

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

Schema description coverage is 100%, so the baseline applies, and the description still adds cross-tool semantics: "answers" is keyed to list_services.services[].questions and product is the id from list_services, which ties loose parameters to a lookup flow. It also frames consent as conditional on the person reading the data authorization, which the schema only states as a const-true boolean.

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?

States a specific verb and resource ("Opens the person's case") plus the pipeline it mirrors (/empezar, the site's form), and names the artifacts produced (case_id, signing_link). It is clearly separable from case_status, upload_document and list_services, which are referenced by name where relevant.

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?

Gives explicit preconditions in a numbered sequence: confirm every field with the person, show the area's data authorization from list_services, and set consent=true only on acceptance. It also states the when-not edge case (a repeat within 24h updates the same case and returns no new link) and where the

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