Skip to main content
Glama

Perceive8

register_business_file

Register a file in Supabase Storage as a business source.

    The file must already be uploaded to the workspace-files bucket under
    `{workspace_id}/business-uploads/...`. This endpoint records it in the
    business profile so Aria and the Files page can use it.

    Args:
        storage_path: Full storage path, e.g. `{workspace_id}/business-uploads/...`.
        filename: Human-readable filename.
    

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": {
      "storage_path": "<storage_path>",
      "filename": "<filename>"
    },
    "name": "register_business_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
filenameYes
storage_pathYes

Output Schema

NameRequiredDescriptionDefault
resultYes

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?

No annotations are supplied, so the description carries the full burden. It discloses the key precondition (file must pre-exist in the bucket at a specific path) and the side effect (recorded in the business profile, visible to Aria and the Files page), but says nothing about idempotency, duplicate registration, permission requirements, or failure behavior when the path is wrong.

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 purpose and precondition in the first two sentences, with parameter explanations after. The 'Args:' block is docstring boilerplate, but it earns its place given the schema has no per-parameter descriptions.

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?

An output schema exists, so return values need not be explained. Still, for a two-parameter write operation with zero annotation coverage, the definition omits whether re-registering the same path creates a duplicate, replaces an entry, or errors, which is information an agent needs to call it safely.

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 0%, so the description must compensate. It does add real meaning for storage_path by giving the expected `{workspace_id}/business-uploads/...` shape and defines filename as human-readable, but it leaves validation rules, path-vs-filename precedence, and filename normalization unaddressed.

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 gives a specific verb-plus-resource ('Register a file ... as a business source') and clarifies that registration is a metadata-recording step distinct from uploading. It doesn't name a sibling such as create_workspace_file, so differentiation is implied through the 'must already be uploaded' framing rather than stated.

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

Usage Guidelines3/5

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

The precondition 'the file must already be uploaded to the workspace-files bucket' tells the agent when this tool applies, which is real usage guidance. However, it never names an alternative for getting the file there in the first place, nor any when-not-to-use condition such as an already-registered path.

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