Skip to main content
Glama

Update portal download

update_portal_download
Idempotent

Update a portal_download by id. Only the fields you pass are changed.

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": {
      "id": "<id>"
    },
    "name": "update_portal_download"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesportal_download id
notesNonotes
statusNostatus
invoice_dateNoinvoice_date
invoice_amountNoinvoice_amount
invoice_numberNoinvoice_number
invoice_statusNoinvoice_status

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

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, idempotentHint=true, and destructiveHint=false. The description adds useful behavior beyond that by stating the update is partial ("Only the fields you pass are changed"), which tells the agent omitted fields are preserved rather than nulled. It stops short of covering error behavior for unknown ids/fields or whether the updated record is returned.

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?

Two short sentences, front-loaded with the verb+resource and immediately followed by the partial-update rule. Nothing is padded or repeated from the title.

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, non-destructive, idempotent CRUD update with full schema coverage and no output schema, the description is close to sufficient. It still omits any indication of what the tool returns after a successful update and how it relates to the get/update invoice_portal siblings, which an agent would want when choosing among them.

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%, so all seven parameters are technically documented, and the required id is enforced by the schema. However, the schema descriptions merely echo field names ("notes": "notes"), so the description's silence on formats for invoice_date, invoice_amount, or allowed status values leaves real ambiguity unaddressed. Baseline 3 applies given full coverage, with no added meaning from the description.

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 and resource ("Update a portal_download") plus the lookup key ("by id"), so an agent knows exactly what operation this performs. It does not differentiate portal_download work from the adjacent invoice_portal tools (update_invoice_portal, get_portal_download) in the sibling list, so the reader must infer the boundary from the noun alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no statement about what state or permissions are required, and no routing to get_portal_download for reading or to the invoice_portal tools for the related resource. The only guidance present is a semantic note about partial updates, not a usage context.

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