Skip to main content
Glama

Seri Dilekçe

Create a petition PDF

create_petition

Generates a correctly formatted Turkish petition as a PDF and returns its download link. Only call this after the user has provided and confirmed every value; never invent personal data. The body text must not contain the addressee, date, closing sentence or signature (added automatically). Remind the user to sign above their name after printing.

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": {
      "first_name": "<first_name>",
      "last_name": "<last_name>",
      "address": "<address>",
      "district": "<district>",
      "city": "<city>",
      "addressee": "<addressee>",
      "body": "<body>"
    },
    "name": "create_petition"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesPetition text in Turkish, without placeholders. Separate paragraphs with a blank line.
cityYesİl.
dateNoSubmission date, YYYY-MM-DD. Defaults to today (Türkiye time).
emailNoOptional e-mail address.
phoneNoOptional phone number.
addressYesStreet address (mahalle, cadde/sokak, no).
closingNo'geregini' = Gereğini saygılarımla arz ederim (default, requests); 'takdirlerinize' = Takdirlerinize arz ederim (leave/discretionary requests); 'bilgilerinize' = Bilgilerinize arz ederim (for information).
districtYesİlçe.
addresseeYesInstitution in plain form ending in ı/i/u/ü, e.g. 'Atatürk Lisesi Müdürlüğü'. Check with preview_heading.
last_nameYesPetitioner's surname.
first_nameYesPetitioner's first name.
attachmentsNoUp to 5 attachment names, e.g. ['Nüfus cüzdanı fotokopisi'].

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare non-read-only, non-destructive, non-idempotent behavior, so the description is not carrying the safety burden alone. It adds genuinely useful behavioral facts beyond them: the body must exclude addressee, date, closing and signature because those are auto-appended, and the user must be told to sign after printing. It does not cover link expiry, overwrite behavior, or what happens on validation failure.

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, front-loaded with the purpose and return value, then prerequisites, then the body-content constraint, then the post-print reminder. No filler and no repetition of what the schema already states.

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 12-parameter, 7-required file-generating tool with no output schema, the description covers purpose, return value, precondition, and the non-obvious body composition rule. Remaining gaps are minor: no mention of error/validation behavior or how the download link should be presented to the user.

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 the schema already defines fields, the closing enum values, and length limits; the baseline here is 3. The description does add meaning for `body` by stating which sections must be omitted because the generator adds them, which is a real constraint beyond the schema's 'without placeholders' note, but no other parameters are elaborated.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Generates a correctly formatted Turkish petition as a PDF') plus the concrete return ('download link'), so the agent knows exactly what the call produces. It also implicitly separates this from preview_heading, which is named in the addressee parameter as a pre-check rather than a generator.

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 gating condition: 'Only call this after the user has provided and confirmed every value; never invent personal data.' That is stronger than generic context, but it does not explicitly say when not to use it (e.g., when the user only wants to draft or preview) or name the sibling alternative in the description body.

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