Skip to main content
Glama

Create tender document

create_tender_document

Register a document already uploaded to storage against a tender (this tool does not upload file bytes — file_path must already exist in the tender-documents bucket).

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": {
      "tender_id": "<tender_id>",
      "document_type": "<document_type>",
      "file_name": "<file_name>",
      "file_path": "<file_path>"
    },
    "name": "create_tender_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_nameYes
file_pathYes
file_sizeNo
mime_typeNo
tender_idYes
document_typeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=false, so the description does not need to restate that this is a non-destructive write. It usefully adds that only metadata is registered and the object must pre-exist in storage, which is genuine context beyond the annotations. It says nothing about duplicate handling (relevant since idempotentHint=false implies repeated calls create additional records) or required permissions.

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 tight sentence with the core action front-loaded and the critical caveat in a parenthetical immediately after. No filler or repetition. Slightly dense parenthetical, but nothing wasted.

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 non-destructive mutation with no output schema and six undocumented parameters, the description discloses the highest-risk detail (it will not transfer bytes) but leaves the agent guessing about return values, duplicate behavior, and valid document_type values. Adequate to prevent the most likely misuse, incomplete for correct invocation in edge cases.

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

Parameters2/5

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

Schema description coverage is 0% across six parameters, so the description carries the full burden and it only clarifies one of them: file_path must already exist in the tender-documents bucket. Nothing is said about document_type (which likely has a constrained set of allowed values), tender_id, file_size or mime_type, leaving half the inputs undocumented in both schema and prose.

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?

Names a specific verb+resource: registering an already-uploaded document against a tender. The parenthetical 'this tool does not upload file bytes' sharply bounds the scope and implicitly separates it from the upload-URL/draft siblings, so an agent can tell it is a metadata-registration step rather than a file-transfer step. It stops short of naming the sibling it should be paired with, so it is not a 5.

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?

Gives a clear precondition: file_path must already exist in the tender-documents bucket, which tells the agent this tool belongs after an upload step, not before. The negation ('does not upload file bytes') functions as an exclusion for the upload-oriented siblings. What is missing is an explicit statement of which sibling to call first and what to do if the path does not exist.

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