Skip to main content
Glama

Arquivix Notas · NFS-e

schedule_update

Idempotent

Change a schedule. Applies to the next runs only; notes already issued do not change. Send only what changes. Changing frequency or first_date recomputes the next run.

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": {
      "schedule_id": "<schedule_id>"
    },
    "name": "schedule_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
nfeNoOnly for an NF-e schedule (type "nfe"): the NF-e fields to change, such as items, payments, recipient or additionalInfo. Each field sent replaces the stored one as a whole (send the full items list, not one item). The company cannot change. The other note fields below are for NFS-e schedules.
notesNoFree text printed on the next notes. Send an empty text to remove it.
amountNoNew total in BRL
ends_onNoYYYY-MM-DD last day, or null to run until paused or cancelled
customerNoNovo tomador das próximas notas.
discountNoNovo desconto incondicionado em reais.
deductionNoNova dedução da base do ISS em reais.
frequencyNoRepetição: WEEKLY (semanal), BIWEEKLY (quinzenal) ou MONTHLY (mensal).
first_dateNoYYYY-MM-DD the count of runs starts from
send_emailNotrue para mandar cada nota por e-mail ao tomador.
descriptionNoNova descrição do serviço.
schedule_idYesUUID of the schedule
service_codeNoCódigo de serviço cTribNac com 6 dígitos, ex.: "010101".
purchase_orderNoPurchase order printed on the next notes. Send an empty text to remove it.
municipality_codeNoCódigo IBGE do município com 7 dígitos, ex.: "2304400".

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A3.9/5.0
Behavior4/5

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

Beyond the annotations, the description discloses that edits apply only to the next runs, that already-issued notes are untouched, and that changing frequency or first_date recomputes the next run. These are exactly the side-effect facts an agent needs, and they are consistent with idempotentHint=true and destructiveHint=false. Return payload behavior is still unstated.

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?

Four short sentences, zero filler, and the scope constraint (future runs only) is front-loaded immediately after the purpose statement. Every sentence carries distinct information.

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

Completeness4/5

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

For a 15-parameter mutation with nested objects and no output schema, the description covers the mutation semantics and side effects well. What is missing is any hint about the response (no output schema exists) or required permissions/state for the target schedule.

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 coverage is 100%, so the baseline is 3, but the description adds real semantics: partial-send behavior and the recomputation triggered by frequency/first_date. It does not clarify null-vs-empty-string removal or how nested nfe objects merge, which the schema itself covers.

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?

"Change a schedule" gives a specific verb and resource, and the following sentences scope the change to future runs. It does not explicitly distinguish itself from siblings like schedule_pause, schedule_resume, or schedule_cancel, so the agent must infer the boundary from the names.

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?

"Send only what changes" is a genuine partial-update instruction, and the note about frequency/first_date gives a consequence to weigh before use. There is no explicit when-to-use versus pause/resume/cancel guidance and no stated prerequisites (e.g. schedule must exist and be active).

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