Skip to main content
Glama

Status do compromisso

astrea_set_appointment_status

Updates an Astrea appointment to completed, canceled, or pending using its appointment ID, with an optional reason for the status change.

Instructions

Marca um compromisso como concluído, cancelado ou pendente.

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": {
      "status": "<status>"
    },
    "name": "astrea_set_appointment_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonNo
statusYesIN_PROGRESS=pendente, DONE=concluído, CANCELED=cancelado
appointmentIdNoID do compromisso no Astrea

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true and destructiveHint=false, so the description's job is lighter. It adds only that three target states exist, but says nothing about whether canceling is reversible, whether a reason is expected when canceling, or what permissions are needed. Note that a CANCELED transition is a meaningful state change while destructiveHint is false – not a contradiction, but worth clarification.

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 with zero filler; the action and the allowed states come first. Its brevity costs completeness rather than clarity, and nothing is redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with an undocumented optional reason field and no output schema, the description leaves too much open: it does not say when reason should be supplied, whether a canceled appointment can be restored, or what the caller receives back. Annotations cover only the coarse safety profile.

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 67%: status (with full enum mapping) and appointmentId are documented in the schema, and the description merely restates the three state labels. The reason parameter is undocumented in both places, so the description fails to compensate for that 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 verb ("Marca") plus the resource ("compromisso") and enumerates the three target states (concluído, cancelado, pendente), so an agent knows exactly what changes. The resource noun also implicitly separates it from the deadline/hearing status siblings, though those alternatives are never named.

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?

Usage is only implied by the name and the resource noun "compromisso"; there is no explicit statement of when to prefer this over astrea_set_deadline_status or astrea_set_hearing_status, and no prerequisites. An agent can infer the scope but must do the work itself.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools