Skip to main content
Glama

File a job's result

file_result

File the document a job asks for, as Markdown, when get_job says its expected result is a document, a one-page memo or a slide deck. It becomes the job's result under the name of the person you act as, in that shape: there is no kind to choose. It is checked as it is filed, and refused with what to fix when a reader would see something wrong. Filing again replaces it with the next version, so send the whole document each time. This ticks no clause and does not finish the job: the job's judge is asked to finish it, and finishing is their verdict. A job whose result is a pull request, or that files nothing, is refused.

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": {
      "project": "<project>",
      "job": "<job>",
      "markdown": "<markdown>"
    },
    "name": "file_result"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobYesThe job's key, e.g. BREW-12.
titleNoWhat to call it. Omit to use the job's title.
projectYesThe project's key, e.g. BREW.
markdownYesThe whole result, as Markdown. In a slide deck, a `---` line with a blank line above it starts the next slide, and each slide opens with its heading.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / job / description
      Previous value: -"The job's key, e.g. FLAIR-12."New value: +"The job's key, e.g. BREW-12."
    • changedInput schema / properties / project / description
      Previous value: -"The project's key, e.g. FLAIR."New value: +"The project's key, e.g. BREW."
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well past the annotations: it discloses that content is validated at filing time, that refusals carry the fix, that re-filing replaces with a new version (so the whole document must be re-sent), and that the tool does not advance clause or job state. The versioning note is consistent with idempotentHint=false and clarifies an otherwise ambiguous non-destructive mutation.

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?

Front-loaded with the core action and its gating condition, then layered with behavior. Slightly dense, with mild redundancy in 'the job's judge is asked to finish it, and finishing is their verdict', but no sentence is filler.

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

Completeness5/5

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

No output schema exists, and the description covers what an agent needs: what is accepted, what happens on validation failure, what re-filing does, and that job completion is a separate verdict. Nothing material is left to inference for a four-parameter write tool.

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 job, project, title and markdown are already documented, including the slide '---' separator rule. The description adds only light meaning — that the result appears under the acting person's name and that there is no 'kind' parameter to choose — without elaborating on title or project key formats; baseline 3 is correct when the schema carries the weight.

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 — filing the Markdown document a job expects — and bounds it to three named result shapes (document, one-page memo, slide deck) determined by get_job. It also separates itself from the pull-request path ('a job whose result is a pull request ... is refused'), so an agent can distinguish it from link_pull_request without opening either schema.

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

Usage Guidelines5/5

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

Explicit when-to-use condition ('when get_job says its expected result is a document, a one-page memo or a slide deck') and explicit when-not ('a pull request, or that files nothing, is refused'). It also rules out a tempting misuse by stating 'This ticks no clause and does not finish the job', routing completion intent elsewhere.

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.