Skip to main content
Glama

Incluir autor

add_author

Inclui um autor no fim da lista. affiliation_id (de list_authors ou set_affiliation) liga o autor a uma afiliação. Respeita o limite de autores do plano do aluno. undo_last_change não desfaz autores; use remove_author.

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": {
      "document_id": "<document_id>",
      "name": "<name>"
    },
    "name": "add_author"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesNome completo do autor.
emailNoE-mail (opcional).
adviserNoÉ o orientador.
biographyNoBiografia curta (opcional).
document_idYesID do trabalho.
correspondentNoÉ o autor correspondente.
affiliation_idNoID da afiliação (opcional).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, so the safety profile is known. The description adds real behavioral context beyond that: append-at-end ordering, enforcement of the plan's author limit (a failure mode), and the fact that the global undo does not cover this operation. It still says nothing about what the response contains or what happens when the limit is exceeded.

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?

Three short sentences, front-loaded with the action, then the affiliation linkage, then the constraint and fallback. Every sentence carries information the agent cannot get from the schema or annotations.

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 seven-parameter mutation tool with annotations but no output schema, the description covers the critical cross-tool dependencies and the plan-limit constraint. Minor gaps remain around error behavior at the limit and the return value, which the absent output schema leaves undocumented.

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 100%, so all seven parameters including adviser, correspondent and biography are already documented in the schema. The description adds genuine meaning only for affiliation_id by telling the agent where the ID comes from; the remaining parameters get no added semantic value.

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?

The description opens with a concrete verb and resource ('Inclui um autor no fim da lista') and specifies the insertion position, which is meaningful. It differentiates itself from the removal sibling by stating undo does not apply and remove_author should be used. It does not contrast with update_author or move_author, so differentiation is not fully exhaustive.

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

Usage Guidelines4/5

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

It names concrete sources for the affiliation_id value (list_authors or set_affiliation), which tells the agent the prerequisite call sequence. It also explicitly warns that undo_last_change will not revert an added author and routes to remove_author instead. No guidance is given on when to prefer add_author over update_author, but the key alternatives are covered.

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